Closed Jigyasa3 closed 1 month ago
Hi @Jigyasa3 I just had the same error. In my case updating both ggplot and the dependencies solved the problem:
devtools::install_github("thackl/gggenomes")
When asked
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: stringi (1.8.3 -> 1.8.4) [CRAN]
5: munsell (0.5.0 -> 0.5.1) [CRAN]
6: gtable (0.3.4 -> 0.3.5) [CRAN]
7: readr (2.1.4 -> 2.1.5) [CRAN]
8: tidyr (1.3.0 -> 1.3.1) [CRAN]
9: ggplot2 (3.5.0 -> 3.5.1) [CRAN]
I entered 1 to update all of them. Then, after restarting R, everything worked again. Hope that helps.
Dear @iimog @raynamharris @thackl @nschan @thomase4
Thanks again for a great package! I am using it for the first time so may be I am doing something wrong, but I am unable to run the example plot in the vignette https://thackl.github.io/gggenomes/articles/gggenomes.html
example-
plot-
all loaded packages-
(.packages())
[1] "gggenomes" "tidyr" "readr" "ggplot2" "stringr" "dplyr" "stats" "graphics" "grDevices" "utils" "datasets" [12] "methods" "base"ggenomes version-
gggenomes version 0.9.12.9000
error-
Only saw
type=NAin genes and will treat everything as
type="CDS". Error in guides$setup(scales, aesthetics, default = params$guide_default %||% : attempt to apply non-function