ropensci / spocc

Species occurrence data toolkit for R
https://docs.ropensci.org/spocc
Other
116 stars 27 forks source link

Resolving "non-zero exit status" #248

Open DWArren314 opened 2 years ago

DWArren314 commented 2 years ago

I am trying to install the "spocc" package to conduct some GIS-based analysis using species occurrence data. I have tried to follow the installation guides provided online, but continue to fail to install the package. Whenever I try to install the package, a number of the dependencies, including "rvertnet", "rbison" and "rgbif" are flagged as having a "non-zero exit status".... Having spoken to other R-users, they too appear to have the same issues. Could you please recommend a workaround for this issue? Thank you.

remotes::install_github('ropensci/spocc') # alternative pathway # Can't get to install, try to install independent packages, then reload Downloading GitHub repo ropensci/spocc@HEAD These packages have more recent versions available. It is recommended to update all of them. Which would you like to update?

1: All
2: CRAN packages only
3: None
4: wellknown (0.6.0 -> 0.7.4) [CRAN]

Enter one or more numbers, or an empty line to skip updates: Installing 3 packages: rvertnet, rbison, rgbif Installing packages into ‘C:/Users/User/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) also installing the dependency ‘wellknown’

There are binary versions available but the source versions are later: binary source needs_compilation wellknown 0.6.0 0.7.4 TRUE rvertnet 0.8.0 0.8.2 FALSE rbison 0.8.0 1.0.0 FALSE rgbif 2.2.0 3.6.0 FALSE

Binaries will be installed trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/wellknown_0.6.0.zip' Content type 'application/zip' length 582990 bytes (569 KB) downloaded 569 KB

package ‘wellknown’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\User\AppData\Local\Temp\RtmpAvT46Q\downloaded_packages installing the source packages ‘rvertnet’, ‘rbison’, ‘rgbif’

trying URL 'https://cran.rstudio.com/src/contrib/rvertnet_0.8.2.tar.gz' Content type 'application/x-gzip' length 768107 bytes (750 KB) downloaded 750 KB

trying URL 'https://cran.rstudio.com/src/contrib/rbison_1.0.0.tar.gz' Content type 'application/x-gzip' length 1726473 bytes (1.6 MB) downloaded 1.6 MB

trying URL 'https://cran.rstudio.com/src/contrib/rgbif_3.6.0.tar.gz' Content type 'application/x-gzip' length 3612058 bytes (3.4 MB) downloaded 3.4 MB

The downloaded source packages are in ‘C:\Users\User\AppData\Local\Temp\RtmpAvT46Q\downloaded_packages’ √ checking for file 'C:\Users\User\AppData\Local\Temp\RtmpAvT46Q\remotesf84332b17b3\ropensci-spocc-ae4f55f/DESCRIPTION'

Installing package into ‘C:/Users/User/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) ERROR: dependencies 'rgbif', 'rbison', 'rvertnet' are not available for package 'spocc'

hannahlowens commented 2 years ago

Hi, It looks like there is another package, "wellknown", that needs to be updated as well. Could you try that and let me know if it works?

Thanks, Hannah