Default variable details

Some of debops.cran default variables have more extensive configuration than simple strings or lists, here you can find documentation and examples for them.


The cran__*_r_packages variables define what R packages will be installed by Ansible system-wide, in the /usr/local/lib/R/site-library/ directory. Each variable contains a list of entries, an entry can be a simple string with the package name, which will be installed if available. Alternatively an entry can be a YAML dictionary with specific parameters:

Required. Name of the R package to install or remove.
Optional. If not specified or present, the specific R package will be installed. If absent, the specific R package will be removed.
Optional. URL of the repository with the R packages to use. If not specified, the value of the cran__upstream_mirror variable will be used by default.


Install selected R packages system-wide:


  - 'Rcpp'

  - 'ggplot2'

  - name: 'plyr'
    state: 'present'