Closed jamesboot closed 1 year ago
Hi,
I installed it on Windows, R421, no problem. It depends on other packages.
The error messages reports a missing geos-config
software on your computer, Apple I guess.
Try install.packages("exactextractr")
to redo installation outside of Spectre, once you solved the dependency to geos-config
. Alternatively, install the binary version that should not depend on external software during compilation.
My two cents,
a Windows user.
Hi @jamesboot , thanks for reaching out. I'm with @SamGG on this one -- try running install.packages("exactextractr")
separately and see if the install works OK, that works on my Mac.
Hi Both, thanks for your replies. No luck with the suggestion, code and error below:
> install.packages("exactextractr")
There is a binary version available but the source version is later:
binary source needs_compilation
exactextractr 0.8.1 0.9.1 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source package ‘exactextractr’
trying URL 'https://cran.rstudio.com/src/contrib/exactextractr_0.9.1.tar.gz'
Content type 'application/x-gzip' length 630164 bytes (615 KB)
==================================================
downloaded 615 KB
* installing *source* package ‘exactextractr’ ...
** package ‘exactextractr’ successfully unpacked and MD5 sums checked
** using staged installation
configure: exactextractr: 0.9.1
checking for geos-config... no
configure: error: geos-config not found or not executable
ERROR: configuration failed for package ‘exactextractr’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/exactextractr’
Warning in install.packages :
installation of package ‘exactextractr’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/kb/43q118t50tn_nf4ctrlp3t240000gn/T/RtmpsDdXJW/downloaded_packages’
Session info:
R version 4.2.3 (2023-03-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.6
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.20 compiler_4.2.3 tools_4.2.3
Did you try to select the binary version, ie without compilation? It sounds much easier.
Definitely try installing the binary version. The non binary version is often a headache to compile and install, and hardly worth the extra time/effort.
That did the trick! Thanks all
Hello, I'm having issues with installation - seems to be around the exactextractr dependency, below is the error messages I get: