mdsumner / nectar

16 stars 1 forks source link

install_github in r-spatial.sh fails #6

Closed JustBerkhout closed 5 years ago

JustBerkhout commented 5 years ago

The line

Rscript -e 'devtools::install_github(c("bhaskarvk/leaflet.extras", "environmentalinformatics-marburg/mapview@develop", "SWotherspoon/SGAT", "SWotherspoon/BAStag", "hypertidy/tidync"), "/usr/local/lib/R/site-library")'

fails with

Error: HTTP error 404.
  No commit found for the ref /usr/local/lib/R/site-library
JustBerkhout commented 5 years ago

adding explicit argument name lib= for the site-library argument fixes this. I.e.

Rscript -e 'devtools::install_github(c("bhaskarvk/leaflet.extras", "environmentalinformatics-marburg/mapview@develop", "SWotherspoon/SGAT", "SWotherspoon/BAStag", "hypertidy/tidync"), lib="/usr/local/lib/R/site-library")'
mdsumner commented 5 years ago

Thanks! I removed a couple of entries and updated