From ce02ae465f13ee32c286b0d0b247849363e15ebe Mon Sep 17 00:00:00 2001 From: Mick Cooney Date: Fri, 27 Oct 2023 09:08:28 +0100 Subject: [PATCH] Updating the docker build GitHub action --- build/Renviron.site | 15 +++++++++++++++ build/Rprofile.site | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 build/Renviron.site create mode 100644 build/Rprofile.site diff --git a/build/Renviron.site b/build/Renviron.site new file mode 100644 index 0000000..c48e408 --- /dev/null +++ b/build/Renviron.site @@ -0,0 +1,15 @@ +R_LIBS=${R_LIBS-'/usr/local/lib/R/site-library:/usr/local/lib/R/library'} +CRAN=https://packagemanager.posit.co/cran/__linux__/jammy/2023-10-20 +CWD=/home/rstudio +DEFAULT_USER=rstudio +GROUPID=1000 +HOSTNAME=2a08c571a82c +LANG=en_US.UTF-8 +PANDOC_VERSION=default +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +QUARTO_VERSION=default +R_HOME=/usr/local/lib/R +R_VERSION=4.3.1 +S6_VERSION=v2.1.0.2 +USER=rstudio +USERID=1000 diff --git a/build/Rprofile.site b/build/Rprofile.site new file mode 100644 index 0000000..8a999ad --- /dev/null +++ b/build/Rprofile.site @@ -0,0 +1,3 @@ +options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux__/jammy/2023-10-20'), download.file.method = 'libcurl') +# https://docs.rstudio.com/rspm/admin/serving-binaries/#binaries-r-configuration-linux +options(HTTPUserAgent = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"])))