WangLab-MSSM / DreamAI

Imputation of missing values of a matrix or data.frame using iterative prediction model
Apache License 2.0
31 stars 7 forks source link

ERROR: lazy loading failed #1

Open angel-bee2018 opened 4 years ago

angel-bee2018 commented 4 years ago

Hi, i am trying to install DreamAI, but keep running into this message:

Error: (converted from warning) package 'randomForest' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'DreamAI'
* removing 'C:/Users/angel/Documents/R/win-library/3.6/DreamAI'
Error: Failed to install 'DreamAI' from GitHub:
  (converted from warning) installation of package ‘C:/Users/angel/AppData/Local/Temp/RtmpycKg56/file18c45b424dbb/DreamAI_0.1.0.tar.gz’ had non-zero exit status

What could be causing this issue?

Context:

> install_github("WangLab-MSSM/DreamAI/Code")
Downloading GitHub repo WangLab-MSSM/DreamAI@master
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                              
2: CRAN packages only               
3: None                             
4: foreach (1.4.8 -> 1.5.0  ) [CRAN]
5: Rcpp    (1.0.3 -> 1.0.4.6) [CRAN]

Enter one or more numbers, or an empty line to skip updates:

√  checking for file 'C:\Users\angel\AppData\Local\Temp\RtmpycKg56\remotes18c48384b52\WangLab-MSSM-DreamAI-0df3e02\Code/DESCRIPTION' (414ms)
-  preparing 'DreamAI': (431ms)
√  checking DESCRIPTION meta-information ... 
-  cleaning src
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added
-  building 'DreamAI_0.1.0.tar.gz'

Installing package into ‘C:/Users/angel/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'DreamAI' ...
** using staged installation
** libs

*** arch - i386
C:/RBuildTools/3.5/mingw_32/bin/g++ -std=gnu++11  -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG  -I"C:/Users/angel/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c dummy.cpp -o dummy.o
C:/RBuildTools/3.5/mingw_32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o DreamAI.dll tmp.def dummy.o -LC:/PROGRA~1/R/R-36~1.2/bin/i386 -lR
installing to C:/Users/angel/Documents/R/win-library/3.6/00LOCK-DreamAI/00new/DreamAI/libs/i386

*** arch - x64
C:/RBuildTools/3.5/mingw_64/bin/g++ -std=gnu++11  -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG  -I"C:/Users/angel/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c dummy.cpp -o dummy.o
C:/RBuildTools/3.5/mingw_64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o DreamAI.dll tmp.def dummy.o -LC:/PROGRA~1/R/R-36~1.2/bin/x64 -lR
installing to C:/Users/angel/Documents/R/win-library/3.6/00LOCK-DreamAI/00new/DreamAI/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'randomForest' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'DreamAI'
* removing 'C:/Users/angel/Documents/R/win-library/3.6/DreamAI'
Error: Failed to install 'DreamAI' from GitHub:
  (converted from warning) installation of package ‘C:/Users/angel/AppData/Local/Temp/RtmpycKg56/file18c45b424dbb/DreamAI_0.1.0.tar.gz’ had non-zero exit status
medibuntu commented 3 years ago

Error: (converted from warning) package 'randomForest' was built under R version 3.6.3

This warning is translated into an error and installation is terminated. You need to set your env var R_REMOTES_NO_ERRORS_FROM_WARNINGS="false" to true

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS= "true")

See https://remotes.r-lib.org/#environment-variables