oswaldosantos / ggsn

R package to add north symbols and scale bars to maps created with ggplot or ggmap
http://oswaldosantos.github.io/ggsn/
GNU General Public License v2.0
161 stars 9 forks source link

instalation troubles using devtools::install_github('oswaldosantos/ggsn') #32

Closed pgonzaleze closed 6 years ago

pgonzaleze commented 6 years ago

Hi, I am trying to update the ggsn (0.4.0) package in order to use north( ) and avoid the error "Error: annotation_custom only works with Cartesian coordinates", but every time that I run the github instalation I get this error: Error: C:/Users/bmped/AppData/Local/Temp/RtmpWmL5pz/devtoolseb448a42356/oswaldosantos-ggsn-f0fd534/man/scalebar.Rd:54: Bad \link text

I wonder, how can I solve it? Thank you! Thank you!

oswaldosantos commented 6 years ago

Hi, What happens if you uninstall (remove.packages) the ggsn and restart the session before trying a new installation?

pgonzaleze commented 6 years ago

It keeps saying the same error, here is the complete message: '''

devtools::install_github('oswaldosantos/ggsn') Downloading GitHub repo oswaldosantos/ggsn@master from URL https://api.github.com/repos/oswaldosantos/ggsn/zipball/master Installing ggsn "C:/PROGRA~1/R/R-34~1.4/bin/x64/R" --no-site-file --no-environ --no-save \ --no-restore --quiet CMD INSTALL \ "C:/Users/bmped/AppData/Local/Temp/RtmpaGlPvj/devtools6946be70cb/oswaldosantos-ggsn-f0fd534" \ --library="C:/Users/bmped/Documents/R/win-library/3.4" --install-tests

The install.packages('ggsn') works fine but installs the 0.4.0 version and I read in another post that you made a correction in the "north ()" function, that´s why I am trying to update the ggsn package. If the issue is not solved I just want to say THANK YOU for the 'ggsn', it is amazing, thanks for sharing!

Cheers,

oswaldosantos commented 6 years ago

I fixed the error in man/scalebar.Rd:54. Plasease, try again.

pgonzaleze commented 6 years ago

Awesome! it works man!!! version 0.4.10 installed, I am closing this issue, Thank you so much!