I’m trying to create standalone function with carrier::crate in R that could be exported in environment (i.e. a docker container) without the libraries in the original session but with no luck. The example is modified from this blog post. I’m using styler package as an example. I ran in problems with inherited dependencies and probably ..
I have created a docker image based on Centos7 and installed R with the Dockerfile below: FROM centos:7 ENV TZ=Etc/UTC # OS Dependencies RUN yum install -y epel-release centos-release-scl-rh openblas-Rblas devtoolset-8-toolchain tre-devel wget libcurl-devel && yum group install -y "Development Tools" # Install R RUN yum install -y http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/libRmath-devel-4.0.2-1.sdl7.x86_64.rpm http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/libRmath-4.0.2-1.sdl7.x86_64.rpm http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/R-java-devel-4.0.2-1.sdl7.x86_64.rpm http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/R-devel-4.0.2-1.sdl7.x86_64.rpm http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/R-core-devel-4.0.2-1.sdl7.x86_64.rpm http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/R-core-4.0.2-1.sdl7.x86_64.rpm I ..