You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I want to download several WorldPop covariates, I was trying to install wpgpDownloadR but encounter and error. When I install the package using devtools, I get the error below, which seems to indicate a conflict with RCurl. I also would like to mention that in the Github documentation often reference is made to "wpgpCovariates", which seems to be the predecessor of the package. The installation of this package goes fine but its use requires a username and password, which I do not have. I tried using username = "ftpUsername" and password = "ftpPassword" but I assume that these are examples and one needs a real password (is still active). Any advice is much appreciated.
Installing package into 'C:/R/library/4.0.2'
(as 'lib' is unspecified)
installing source package 'wpgpDownloadR' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'RCurl' was built under R version 4.0.3
Execution halted
ERROR: lazy loading failed for package 'wpgpDownloadR'
removing 'C:/R/library/4.0.2/wpgpDownloadR'
Error: Failed to install 'wpgpDownloadR' from GitHub:
(converted from warning) installation of package 'C:/Users/dijk158/AppData/Local/Temp/Rtmp4UDjDc/file10f9822031afa/wpgpDownloadR_0.1.0.tar.gz' had non-zero exit status
The text was updated successfully, but these errors were encountered:
I found the solution to my problem here: r-lib/remotes#403 It has to do with the removes package which actually seems to stop installation in case of warnings, such as having a (slightly) older package installed (in my case RCurl 4.0.2 instead of 4.0.3). This can be fixed by setting: Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true") before using install_github.
Hi,
As I want to download several WorldPop covariates, I was trying to install wpgpDownloadR but encounter and error. When I install the package using devtools, I get the error below, which seems to indicate a conflict with RCurl. I also would like to mention that in the Github documentation often reference is made to "wpgpCovariates", which seems to be the predecessor of the package. The installation of this package goes fine but its use requires a username and password, which I do not have. I tried using username = "ftpUsername" and password = "ftpPassword" but I assume that these are examples and one needs a real password (is still active). Any advice is much appreciated.
Installing package into 'C:/R/library/4.0.2'
(as 'lib' is unspecified)
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'RCurl' was built under R version 4.0.3
Execution halted
ERROR: lazy loading failed for package 'wpgpDownloadR'
Error: Failed to install 'wpgpDownloadR' from GitHub:
(converted from warning) installation of package 'C:/Users/dijk158/AppData/Local/Temp/Rtmp4UDjDc/file10f9822031afa/wpgpDownloadR_0.1.0.tar.gz' had non-zero exit status
The text was updated successfully, but these errors were encountered: