1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 20:06:12 +01:00

linux docker language

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-01-05 15:14:38 +01:00
parent 29fc106d59
commit 74ef20359a

View File

@ -36,6 +36,11 @@ before_script:
- apt-get -q update
# install dependencies for packages
- apt-get -y -q install libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev pandoc r-base
# set R system language
- echo "LC_ALL=en_US.UTF-8" >> /etc/environment
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
- echo "LANG=en_US.UTF-8" > /etc/locale.conf
- locale-gen en_US.UTF-8
# cache R packages
- mkdir -p installed_deps
- echo 'R_LIBS="installed_deps"' > .Renviron