Skip to content

tibble dependency #117

@teunbrand

Description

@teunbrand

Hi there,

We've been preparing a new major release for ggplot2 and found an issue during a reverse dependency check.
In ggplot2, the tibble package is no longer imported. One consequence of this is that it is no longer automatically installed for reverse dependencies.

The following line in your code:

#' plot_usmap(include = .east_north_central, labels = TRUE)

Now gives the following error:

Error in process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, :
package tibble not available: install first?
Calls: plot_usmap ... st_read -> st_read.character -> process_cpl_read_ogr
Execution halted

You can test your code with the development version of ggplot2 by installing it as follows:

# install.packages("pak")
pak::pak("tidyverse/ggplot2")

However, you should not have the tibble package installed in order to reproduce the error.
We aim to release the new ggplot2 version in about 2 weeks, and hope you can submit a fix to CRAN around that time. Hopefully this will inform you in a timely manner.

Best wishes,
Teun

Sub-issues

Metadata

Metadata

Assignees

Labels

bugA bug or issue that should be resolved

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions