ERROR: lazy loading failed for package 'varimpact'
Shafi2016 opened this issue · 3 comments
I am trying to install varimpact from devtools::install_github("ck37/varimpact")
But I am getting the following error message. Though, I have SuperLearn library.
Downloading GitHub repo ck37/varimpact@master
✓ checking for file 'C:\Users\shafi\AppData\Local\Temp\RtmpQd0vMX\remotes91cc33c1faf\ck37-varimpact-e3d4feb/DESCRIPTION' (521ms)
─ preparing 'varimpact':
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'varimpact_1.3.0-9005.tar.gz'
Installing package into ‘C:/Users/shafi/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
- installing source package 'varimpact' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'SuperLearner' was built under R version 3.6.2
Execution halted
ERROR: lazy loading failed for package 'varimpact' - removing 'C:/Users/shafi/Documents/R/win-library/3.6/varimpact'
Error: Failed to install 'varimpact' from GitHub:
(converted from warning) installation of package ‘C:/Users/shafi/AppData/Local/Temp/RtmpQd0vMX/file91cc494f78e8/varimpact_1.3.0-9005.tar.gz’ had non-zero exit status
###############
library(SuperLearner)
Loading required package: nnls
Super Learner
Version: 2.0-26
Package created on 2019-10-27
Warning message:
package ‘SuperLearner’ was built under R version 3.6.2
Thanks, It worked for as given below:
library(devtools)
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")
install_github("ck37/varimpact")
Glad to hear it