0

I am attempting to use geom_sf with the most current developer version of tidyverse and R 3.5.0, and the function cannot be found. This previous question (Error when plotting sf object --- Error: could not find function "geom_sf") was able to solve the issue with the developer version, but that is not he issue here. Any ideas about why this is/how to fix it?

  • 1
    What version of ggplot2 does `sessionInfo()` say you have installed and loaded? – MrFlick Jun 12 '18 at 20:42
  • You might need to install `sf` package as well – Tung Jun 13 '18 at 05:07
  • @ Tung, sf_0.6-3 is installed and loaded. Or do you mean that I might need the developer version? – Heidi Rodenhizer Jun 13 '18 at 13:42
  • @ MrFlick, your question helped me fix the issue. The sessionInfo() let me know that only tidyverse was loaded in the developer version and not ggplot2. I didn't realize that downloading the developer version of tidyverse is separate from downloading the developer version of individual packages within the tidyverse. I'm a bit embarrassed that I didn't remember to check that before posting a question... – Heidi Rodenhizer Jun 13 '18 at 13:57

1 Answers1

1

The developer version of tidyverse does not download the developer version of ggplot2. Downloading the developer version of ggplot2 solved the issue.