Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nesting of ggpackets #30

Open
dazu89 opened this issue Sep 30, 2024 · 1 comment
Open

Nesting of ggpackets #30

dazu89 opened this issue Sep 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dazu89
Copy link

dazu89 commented Sep 30, 2024

This is a mar-ve-lous package, thank you, for making it available to the wider public!
Maybe it is not supposed to be used that way, but upon nesting packets, I am running into different issues. In this case
‹Error in rlang::quo_get_expr(): ! quo must be a quosure›

library(sf)
library(stars)
library(ggpackets)
library(dplyr)
nc <- st_read(system.file("shape/nc.shp", package="sf"))
gg_p1= ggpacket() +
  geom_sf(data = nc)
gg_p1

gg_p2 = ggpacket() + 
  gg_p1 +
  geom_sf(data = nc[1,], fill = "red")
gg_p2

In other cases, which motivated this issue, I am unable to overwrite scale_x_continuous provided by a ggpackets or get other errors upon nesting such as ‹Error in (function (mapping = aes(), data, na.rm = TRUE, show.legend = NA, : argument "data" is missing, with no default› (this one is cryptic, as in no statement I did omit the data argument.
Maybe I have overlooked something... in anycase, this would be a cool functionality and any advise is appreciated!

@dgkf
Copy link
Owner

dgkf commented Oct 1, 2024

Thanks for filing this. I'll investigate. I can't promise a timeline, but I'll definitely get it back up and running.

@dgkf dgkf added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants