ansible-role-R/defaults/main.yml

283 lines
6.8 KiB
YAML

---
#
# https://cran.r-project.org/bin/linux/ubuntu/
#
# To list the installed R packages
# Run R, then execute
# packinfo <- installed.packages (fields = c ("Package", "Version"))
# packinfo[,c("Package", "Version")]
#
# The install/remove script has been taken from here: http://adamj.eu/tech/2014/07/19/installing-and-removing-r-packages-with-ansible/
#
# Set to True if you want install from the CRAN deb repository
r_install_cran_repo: false
# This si the CRAN main repository, that contains the r-base-* packages
r_cran_ubuntu_repo_key: 'E298A3A825C0D65DFD57CBB651716619E084DAB9'
r_cran_ubuntu_repo: 'deb https://cloud.r-project.org/bin/linux/ubuntu {{ ansible_distribution_release }}-cran40/'
# Use 'marutter/c2d4u3.5' for R 3.6
r_cran_ubuntu_packages_ppa_trusty: 'ppa:marutter/c2d4u'
# 4.1, Ubuntu 18.04+
r_cran_ubuntu_packages_ppa: 'ppa:c2d4u.team/c2d4u4.0+'
r_apt_additional_repos_trusty:
- 'ppa:opencpu/jq'
r_apt_additional_repos: []
# - 'ppa:cran/v8'
# - 'ppa:ubuntugis/ppa'
# - 'ppa:cran/libgit2'
r_cran_set_default_mirror: true
r_cran_mirror_site: https://cran.mirror.garr.it/mirrors/CRAN/
r_base_versioned: false
r_base_pkg_version: 4.2.3-1.1804.0
r_sitelib_path: '/usr/local/lib/R/site-library'
r_plugins_from_deb: true
r_packages_cleanup: false
r_install_rprofile_site: true
#
r_packages_updater: true
r_package_updater_via_subversion: false
r_package_updater_subversion_repo: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/RConfiguration/RPackagesManagement/
r_packages_svn_base_dir: /srv/r_updater
r_package_updater_via_git: true
r_package_updater_git_repo: 'https://code-repo.d4science.org/gCubeSystem/r-packages-list'
r_packages_git_base_dir: /srv/r_updater
r_packages_files_prefix: ''
r_packages_updater_also_upgrades_installed_packages: true
r_packages_updater_for_github_only: true
# Set this to true if you want to run the installer once, and then never after the first execution
r_packages_updater_run_once: false
# They need to be flat text files
# 1 package per line
#r_debian_packages_list_url
#r_el_packages_list_url
# package[:cran mirror]
# The CRAN mirror URL is optional
#r_cran_packages_list_url
# The CRAN mirror URL is optional
#r_cran_packages_list_url
# user/package_name
#r_github_packages_list_url
r_source_plugins_dest_dir: /var/cache/R
r_base_packages_list:
- r-base
- r-base-core
- r-base-dev
- r-base-html
- r-mathlib
r_base_versioned_packages_list:
# - r-base=4.2.3-1.1804.0 # r-recommended is a requirement and it cannot be installed
- "r-base-core={{ r_base_pkg_version }}"
- "r-base-dev={{ r_base_pkg_version }}"
- "r-base-html={{ r_base_pkg_version }}"
- "r-mathlib={{ r_base_pkg_version }}"
r_distribution_required_packages:
- jags
- git
- subversion
- gdal-bin
- libgdal-dev
- libgeos-dev
- libspatialite-dev
- proj-bin
- proj-data
- libproj-dev
- libcurl4-openssl-dev
- texlive
- texlive-base
- texlive-binaries
- texlive-latex-base
- texlive-latex-extra
- texlive-formats-extra
- texlive-xetex
- libnetcdf-dev
- netcdf-bin
- libfribidi-dev
- libfribidi-bin
- libfreetype6-dev
- libxft-dev
# Some packages that must be put on hold
r_base_packages_hold_list: []
# - r-base-core
# - r-base-dev
# - r-base-html
# - r-mathlib
r_plugins_packages_list: []
# RHEL/CentOS:
# http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/
#
r_sitelib_el_path: '/usr/local/lib/R/library'
r_el_dev_pkgs: true
r_base_packages_el:
- R
- R-core
- libRmath
r_base_packages_dev_el:
- R-core-devel
- libRmath-devel
r_base_packages_java_el:
- R-java
r_base_packages_java_dev_el:
- R-java-devel
r_distribution_required_el_packages: []
r_cran_install_from_ppa: "{% if r_base_versioned %}false{% else %}true{% endif %}"
r_cran_ubuntu_packages:
- r-cran-abind
- r-cran-askpass
- r-cran-backports
- r-cran-base64enc
- r-cran-bayesplot
- r-cran-bh
- r-cran-boot
- r-cran-bslib
- r-cran-cachem
- r-cran-callr
- r-cran-checkmate
- r-cran-class
- r-cran-cli
- r-cran-cluster
- r-cran-coda
- r-cran-codetools
- r-cran-colorspace
- r-cran-colourpicker
- r-cran-commonmark
- r-cran-cpp11
- r-cran-crayon
- r-cran-crosstalk
- r-cran-curl
- r-cran-desc
- r-cran-digest
- r-cran-doparallel
- r-cran-dplyr
- r-cran-dt
- r-cran-dygraphs
- r-cran-ellipsis
- r-cran-fansi
- r-cran-farver
- r-cran-fastmap
- r-cran-foreign
- r-cran-fs
- r-cran-generics
- r-cran-ggplot2
- r-cran-ggridges
- r-cran-glue
- r-cran-gridextra
- r-cran-gtable
- r-cran-gtools
- r-cran-htmltools
- r-cran-htmlwidgets
- r-cran-httpuv
- r-cran-igraph
- r-cran-inline
- r-cran-isoband
- r-cran-jquerylib
- r-cran-jsonlite
- r-cran-kernsmooth
- r-cran-labeling
- r-cran-later
- r-cran-lattice
- r-cran-lazyeval
- r-cran-lifecycle
- r-cran-littler
- r-cran-lme4
- r-cran-loo
- r-cran-magrittr
- r-cran-maptools
- r-cran-markdown
- r-cran-mass
- r-cran-matrix
- r-cran-matrixstats
- r-cran-mgcv
- r-cran-mime
- r-cran-miniui
- r-cran-minqa
- r-cran-munsell
- r-cran-nlme
- r-cran-nloptr
- r-cran-nnet
- r-cran-openssl
- r-cran-packrat
- r-cran-pillar
- r-cran-pkgbuild
- r-cran-pkgconfig
- r-cran-plyr
- r-cran-prettyunits
- r-cran-processx
- r-cran-promises
- r-cran-ps
- r-cran-purrr
- r-cran-r2jags
- r-cran-r6
- r-cran-rappdirs
- r-cran-rcolorbrewer
- r-cran-rcpp
- r-cran-rcppeigen
- r-cran-rcppparallel
- r-cran-reshape2
- r-cran-rjags
- r-cran-rlang
- r-cran-rodbc
- r-cran-rpart
- r-cran-rprojroot
- r-cran-rsconnect
- r-cran-rstanarm
- r-cran-rstantools
- r-cran-rstudioapi
- r-cran-sass
- r-cran-scales
- r-cran-shiny
- r-cran-shinyjs
- r-cran-shinystan
- r-cran-shinythemes
- r-cran-sourcetools
- r-cran-sp
- r-cran-spatial
- r-cran-stanheaders
- r-cran-stringi
- r-cran-stringr
- r-cran-survival
- r-cran-svglite
- r-cran-sys
- r-cran-systemfonts
- r-cran-threejs
- r-cran-tibble
- r-cran-tidyselect
- r-cran-utf8
- r-cran-v8
- r-cran-vctrs
- r-cran-viridislite
- r-cran-withr
- r-cran-xfun
- r-cran-xtable
- r-cran-xts
- r-cran-yaml
- r-cran-zoo
r_cran_install_from_sources: true
r_plugins_list_to_install: []
# - { name: 'robis', repo: '{{ r_cran_mirror_site }}' }
r_plugins_from_sources: []
# - { name: 'plyr', version: '1.7.1', source: 'plyr_1.7.1.tar.gz', url: 'http://cran.r-project.org/src/contrib/Archive/plyr/plyr_1.7.1.tar.gz' }
# The 'repo' scope is required
# r_plugins_from_github_api_token: 'Put it into a vault file'
# The 'version' parameter is optional. The default is 'master'
r_plugins_from_github: []
# - { plugin_name: 'RFigisGeo', github_user: 'openfigis', version: 'v0.2-beta1' }
# - { plugin_name: 'rsdmx', github_user: 'opensdmx' }
#
r_plugins_list_to_remove: []