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

Error while installing on Centos #43

Closed BrianCollinss closed 5 years ago

BrianCollinss commented 5 years ago

Loading required package: ggsn Installing package into ‘/gpfs1/homes/uqbababa/.R/library’ (as ‘lib’ is unspecified) also installing the dependency ‘sf’

trying URL 'https://cloud.r-project.org/src/contrib/sf_0.7-3.tar.gz' Content type 'application/x-gzip' length 8166770 bytes (7.8 MB)

downloaded 7.8 MB

trying URL 'https://cloud.r-project.org/src/contrib/ggsn_0.5.0.tar.gz' Content type 'application/x-gzip' length 649649 bytes (634 KB)

downloaded 634 KB

The downloaded source packages are in ‘/gpfs1/scratch/30days/uqbababa/RtmpQeDgXO/downloaded_packages’ Warning messages: 1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘ggsn’ 2: In install.packages("ggsn") : installation of package ‘sf’ had non-zero exit status 3: In install.packages("ggsn") : installation of package ‘ggsn’ had non-zero exit status

oswaldosantos commented 5 years ago

You must to install the sf before installing the ggsn. Although you tried to install it, the installation did not succeeded: installation of package ‘sf’ had non-zero exit status

oswaldosantos commented 5 years ago

If you succeed with the installation or if the problem is only with other packages, close the issue please.