nuest/mro-docker

Unable to install `dbmss` package

Closed this issue · 1 comments

From ismailsunni/dockeRs#33

To reproduce:

install.packages("dmbss")

It will give this error:

* installing *source* package ‘dbmss’ ...
** package ‘dbmss’ successfully unpacked and MD5 sums checked
** libs
g++ -std=gnu++11 -I/opt/microsoft/ropen/3.5.3/lib64/R/include -DNDEBUG  -I"/opt/microsoft/ropen/3.5.3/lib64/R/library/Rcpp/include" -I"/opt/microsoft/ropen/3.5.3/lib64/R/library/RcppParallel/include" -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c CountNbd.cpp -o CountNbd.o
g++ -std=gnu++11 -I/opt/microsoft/ropen/3.5.3/lib64/R/include -DNDEBUG  -I"/opt/microsoft/ropen/3.5.3/lib64/R/library/Rcpp/include" -I"/opt/microsoft/ropen/3.5.3/lib64/R/library/RcppParallel/include" -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -shared -L/opt/microsoft/ropen/3.5.3/lib64/R/lib -o dbmss.so CountNbd.o RcppExports.o Microsoft R Services MKL End User License Agreement These license terms are an agreement between Microsoft Corporation ("Microsoft" or "us") and you ("User" or "you"). Please read them. By selecting the "I ACCEPT" box, accessing, or otherwise using the R Services MKL software or documentation, you agree to all the terms of this agreement. If you do not agree with all of these terms, do not select the "I ACCEPT" box, access, or otherwise use the R Services MKL software or documentation. User does not become a licensed user of, and is not authorized to use, the R Services MKL software or documentation unless and until it has agreed to be bound by all of these terms. R Services MKL is a software package provided for use with Microsoft R Server, Microsoft R Open, and any successors or other software applications released by us ("Licensed Products") that can be used with the Intel® Math Kernel Libraries ("MKL")(for more information, see https://software.intel.com/en-us/intel-mkl). This software package is referred to herein as the "R Services MKL." Intel Corporation is referred to as "Intel." 1. License. The R Services MKL is licensed for exclusive use with the Licensed Products. Subject to all of the terms and conditions of this Agreement, Microsoft grants User a non-exclusive, non-transferable, non-sublicensable right to use R Services MKL. R Services MKL must be used as a single integrated software application and may not be separated into its constituent parts. 2. Restrictions. User shall not, directly or indirectly: (i) sublicense, resell, rent, lease, distribute, market, commer

The EULA printing breaks the compilation command. Silencing them fix the problem

nuest commented

The package is not available for R 4.0.2 nor R 3.5.3, but installation in R 3.4.4 succeeds with the updated Dockerfile that includes make and gfortran.