Closed Shafi2016 closed 4 years ago
All you’re getting is a warning message that can be safely ignored, but it is being upgraded to an error. See where it says “ Error: (converted from warning) package 'SuperLearner' was built under R version 3.6.2”.
This note here has a link to the environmental variable to set: https://github.com/r-lib/remotes/issues/403#issuecomment-513891775
-ck.mobile
On Dec 23, 2019, at 3:03 PM, Shafi2016 notifications@github.com wrote:
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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
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
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)
############### 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