Error Installing
Closed this issue · 2 comments
Getting the following error when trying to install the package. Complains about 'wkt' when using CRAN repository or a locally downloaded zip file. I am using R version 3.6.0 (2019-04-26), Platform: x86_64-w64-mingw32/x64 (64-bit), Running under: Windows 10 x64 (build 19041).
Matrix products: default
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/koust/OneDrive/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
- 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 'C:/Users/koust/OneDrive/Documents/R/win-library/3.6/elevatr'
- restoring previous 'C:/Users/koust/OneDrive/Documents/R/win-library/3.6/elevatr'
Warning in install.packages :
installation of package ‘C:/Users/koust/Downloads/elevatr_0.3.4.tar.gz’ had non-zero exit status
@koustubhsharma I am trying to clean out some of my long standing issues. Are you still having problems with installation? I did push a new version of elevatr to CRAN that might solve your problems.
If I don't hear back in a few weeks I will close out this issue.