ismailsunni / dockeRs

A collection of docker image of various R implementations on various platform both vanilla and with geospatial R packages.
2 stars 1 forks source link

Failed to install some R packages due to R printing EULA on MRO + Ubuntu + geospatial #33

Open ismailsunni opened 4 years ago

ismailsunni commented 4 years ago

For example, to install dbmss package, it will get an error since printed in the compilation command:

* 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
ismailsunni commented 4 years ago

I fixed it by removing the content of the EULAs. I need to return it back also for sure. Still building the image now....

nuest commented 4 years ago

Can you please create an issue on https://github.com/nuest/mro-docker/ with a reproducible example then I can try to fix that (see also #10).