Failure to install from Cran-repo, "object 'wktk is not exported by 'namespace::sp'"
Closed this issue · 3 comments
sessionInfo :
`R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS 10.15.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/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] compiler_3.6.0 tools_3.6.0 yaml_2.2.1`
`installing the source package ‘elevatr’
trying URL 'https://cran.rstudio.com/src/contrib/elevatr_0.3.4.tar.gz'
Content type 'application/x-gzip' length 408673 bytes (399 KB)
downloaded 399 KB
- installing source package ‘elevatr’ ...
** package ‘elevatr’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: object ‘wkt’ is not exported by 'namespace:sp'
Execution halted
ERROR: lazy loading failed for package ‘elevatr’ - removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/elevatr’
Warning in install.packages :
installation of package ‘elevatr’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/dl/t0tty2rx6n3ft5qmnht_v8rnpg83bb/T/RtmpHytJwh/downloaded_packages’`
You are entirely correct and this solved the issue. I've been updating my packages and Rstudio all this time but never realised R did not update. Thank you, kind stranger!