ggalt
ggalt copied to clipboard
` coord_proj()` "Error: not implemented"
I'm getting Error: Not implemented
when trying to use coord_proj()
. Running an example from the documentation:
library(ggplot2)
library(ggalt)
world <- map_data("world")
usa <- world[world$region == "USA",]
usa <- usa[!(usa$subregion %in% c("Alaska", "Hawaii")),]
gg <- ggplot()
gg <- gg + geom_cartogram(data=usa, map=usa,
aes(x=long, y=lat, map_id=region))
gg <- gg + coord_proj(
paste0("+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5 +lon_0=-96",
" +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs"))
gg
#> Error: Not implemented
I've installed the most recent github commit from ggalt and ggplot2.
Hey folks,
I'm having the same problem as eliocamp here. Code that worked fine fall 2019 now fails with this "Error: Not Implemented" message.
This error appears even when I run the simple examples in the coord_proj() help file. I'm using ggalt_0.4.0 and ggplot2_3.3.0--is this me being silly or something else?
Also, when I re-install ggplot 3.2.1 from the archive the code seems to behave again, at least for me. FYI.
It is odd that the examples in the help file don't even run for me when they used to run perfectly fine.
Any news on this? The error seems to persist...
Any news on this? The error seems to persist...
Hi! My PR (#69) has a possible fix, you can install it with devtools::install_github("eliocamp/ggalt@new-coord-proj")
Hi! My PR (#69) has a possible fix, you can install it with
devtools::install_github("eliocamp/ggalt@new-coord-proj")
Thanks, that does indeed work! Great stuff! It would be great to implement this in the package!!
Any news on this? The error seems to persist...
Hi! My PR (#69) has a possible fix, you can install it with
devtools::install_github("eliocamp/ggalt@new-coord-proj")
it doesn't work here.