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
1 changed files with 5 additions and 0 deletions

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