Install BMTME
volpatoo opened this issue · comments
Is this package is able to install in Windows 10?
Because I am trying install and a failure occurs.
Thanks!
I can reproduce your situation, but unfortunately can't think of a solution.
devtools::install_github('frahik/BMTME')
Downloading GitHub repo frahik/BMTME@master
from URL https://api.github.com/repos/frahik/BMTME/zipball/master
Installing BMTME
"C:/PROGRA~1/R/R-35~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \
"C:/Users/user457/AppData/Local/Temp/RtmpOYfnbl/devtools216067842666/frahik-BMTME-54bce51" \
--library="C:/Users/user457/Documents/R/win-library/3.5" --install-tests
* installing *source* package 'BMTME' ...
** libs
*** arch - i386
make: Nothing to be done for `all'.
installing to C:/Users/user457/Documents/R/win-library/3.5/BMTME/libs/i386
*** arch - x64
make: Nothing to be done for `all'.
installing to C:/Users/user457/Documents/R/win-library/3.5/BMTME/libs/x64
** R
** data
*** moving datasets to lazyload DB
** tests
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'BMTME'
finding HTML links ... done
BME html
BMTME html
BMTMERS html
BMTMERS_Env html
CV.KFold html
CV.RandomPart html
CV.Stratified html
CV.StratifiedByFrac html
MaizeToy html
WheatIranianToy html
WheatJapa30 html
WheatJapa50 html
WheatMadaToy html
WheatToy html
barplot.BMTMERSENV html
boxplot.BMECV html
boxplot.BMTMECV html
boxplot.BMTMERSCV html
cholesky html
detectCores html
plot.BME html
plot.BMTME html
plot.BMTMERSCV html
print.BME html
print.BMECV html
print.BMTME html
print.BMTMECV html
print.BMTMERSCV html
print.BMTMERSENV html
residuals.BME html
residuals.BMTME html
summary.BMECV html
summary.BMTMECV html
summary.BMTMERSCV html
summary.BMTMERSENV html
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'BMTME' in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/user457/Documents/R/win-library/3.5/BMTME/libs/i386/BMTME.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/user457/Documents/R/win-library/3.5/BMTME'
In R CMD INSTALL
Installation failed: Command failed (1)
I also have the same issue on Mac OSX :
devtools::install_github('frahik/BMTME')
* installing *source* package ‘BMTME’ ...
** libs
make: Nothing to be done for `all'.
installing to /Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME/libs
** R
** data
*** moving datasets to lazyload DB
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘BMTME’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME/libs/BMTME.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME/libs/BMTME.so, 6): no suitable image found. Did find:
/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME/libs/BMTME.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME/libs/BMTME.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME’
Installation failed: Command failed (1)
Thanks for the report, I'll be looking for the problem and I'll let you know as soon as I have the solution.
Try again, I already solved the detail at least with the windows operating system, I hope it will also be solved for MAC OS.
Nope, no luck on Mac OS yet. Same error.
devtools::install_github('frahik/BMTME')
Downloading GitHub repo frahik/BMTME@master
from URL https://api.github.com/repos/frahik/BMTME/zipball/master
Installing BMTME
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file \
--no-environ --no-save --no-restore --quiet CMD INSTALL \
'/private/var/folders/_4/n0yjps8x5dv1qdkn7s2t2zr40000gn/T/Rtmp0FHUVJ/devtools5a89432df9d/frahik-BMTME-fdf5c78' \
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' \
--install-tests
* installing *source* package ‘BMTME’ ...
** libs
clang++ -std=gnu++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/RcppArmadillo/include" -I/usr/local/include -fopenmp -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang: error: unsupported option '-fopenmp'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘BMTME’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BMTME’
Installation failed: Command failed (1)
It's a different error, I will try to solve in the next version of the package. Greetings
No problem. I’m in no hurry.
fixed issue with MAC OS installation