geofacet icon indicating copy to clipboard operation
geofacet copied to clipboard

us_states_grid1 not working properly

Open rmurden opened this issue 3 months ago • 4 comments

When I copy and run the "state_ranks" example on the Github landing page for geofacet, I get the attached graph.

Image

rmurden avatar Sep 18 '25 21:09 rmurden

I assume it's due to the latest major update for ggplot2, which seems to lead to problems when laying out the grid.

You may want to install ggplot2 v3.5.2 until it is fixed: devtools::install_version(package = "ggplot2", version = "3.5.2", repos = "http://cran.us.r-project.org")

Note that this is the case for all grids, not the US states grid alone (so if possible, please update the issue title).

z3tt avatar Sep 22 '25 19:09 z3tt

I had a similar problem with a custom grid and downgrading ggplot2 to v.3.5.2 as suggested by @z3tt solved it! It would be really helpful upgrading the title

raphaludwig avatar Oct 03 '25 21:10 raphaludwig

Terribly sorry for the delay! I have pushed a fix to the master branch. I want to do some more testing pushing to CRAN and if you could test it out too, that would be great.

hafen avatar Oct 29 '25 17:10 hafen

Works like a charm for the package example and also my custom grids. Thanks!

z3tt avatar Nov 16 '25 18:11 z3tt