Closed Saadi4469 closed 3 years ago
Hello,
While installing the package via using devtools. I get the following error. How can this this be fixed?
devtools
Cheers,
√ checking for file 'C:\Users\saadb\AppData\Local\Temp\Rtmp0qepNh\remotesfc5eb12cc\tiagodc-TreeLS-9033693/DESCRIPTION' (469ms) - preparing 'TreeLS': (1.2s) √ checking DESCRIPTION meta-information ... - cleaning src - installing the package to process help pages ----------------------------------- - installing *source* package 'TreeLS' ... ** using staged installation ** libs C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -I. -I../inst/include/ -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/RcppArmadillo/include' -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/Rcpp/include' -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/BH/include' -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/RcppEigen/include' -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -c RcppExports.cpp -o RcppExports.o sh: C:/Rtools/mingw_64/bin/g++: No such file or directory make: *** [C:/PROGRA~1/R/R-40~1.2/etc/x64/Makeconf:229: RcppExports.o] Error 127 ERROR: compilation failed for package 'TreeLS' - removing 'C:/Users/saadb/AppData/Local/Temp/RtmpqOW6iU/Rinst2bb03827400b/TreeLS' ----------------------------------- ERROR: package installation failed Error: Failed to install 'TreeLS' from GitHub: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines): E> * installing *source* package 'TreeLS' ... E> ** using staged installation E> ** libs E> C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -I. -I../inst/include/ -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/RcppArmadillo/include' -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/Rcpp/include' -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/BH/include' -I'C:/Users/saadb/OneDrive/Documents/R/win-library/4.0/RcppEigen/include' -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -c RcppExports.cpp -o RcppExports.o E> sh: C:/Rtools/mingw_64/bin/g++: No such file or directory E> make: *** [C:/PROGRA~1/R/R-40~1.2/etc/x64/Makeconf:229: RcppExports.o] Error 127 E> ERROR: compilation failed for package 'TreeLS' E> * removing 'C:/Users/saadb/AppData/Local/Temp/RtmpqOW6iU/Rinst2bb038
Restarting RStudio solved the issue.
Hello,
While installing the package via using
devtools
. I get the following error. How can this this be fixed?Cheers,