Add some new dependencies.

This commit is contained in:
Andrea Dell'Amico 2023-12-07 16:30:31 +01:00
parent df3a154aff
commit f0e747a1c8
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 14 additions and 6 deletions

View File

@ -93,6 +93,10 @@ r_distribution_required_packages:
- texlive-xetex - texlive-xetex
- libnetcdf-dev - libnetcdf-dev
- netcdf-bin - netcdf-bin
- libfribidi-dev
- libfribidi-bin
- libfreetype6-dev
- libxft-dev
# Some packages that must be put on hold # Some packages that must be put on hold
r_base_packages_hold_list: [] r_base_packages_hold_list: []
@ -107,7 +111,7 @@ r_plugins_packages_list: []
# http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/ # http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/
# #
r_sitelib_el_path: '/usr/local/lib/R/library' r_sitelib_el_path: '/usr/local/lib/R/library'
r_el_dev_pkgs: True r_el_dev_pkgs: true
r_base_packages_el: r_base_packages_el:
- R - R
- R-core - R-core
@ -125,6 +129,7 @@ r_base_packages_java_dev_el:
r_distribution_required_el_packages: [] r_distribution_required_el_packages: []
r_cran_install_from_ppa: "{% if r_base_versioned %}false{% else %}true{% endif %}"
r_cran_ubuntu_packages: r_cran_ubuntu_packages:
- r-cran-abind - r-cran-abind
- r-cran-askpass - r-cran-askpass
@ -257,7 +262,7 @@ r_cran_ubuntu_packages:
- r-cran-yaml - r-cran-yaml
- r-cran-zoo - r-cran-zoo
r_cran_install_from_sources: True r_cran_install_from_sources: true
r_plugins_list_to_install: [] r_plugins_list_to_install: []
# - { name: 'robis', repo: '{{ r_cran_mirror_site }}' } # - { name: 'robis', repo: '{{ r_cran_mirror_site }}' }

View File

@ -100,18 +100,21 @@
with_items: '{{ r_base_packages_hold_list | default([]) }}' with_items: '{{ r_base_packages_hold_list | default([]) }}'
tags: ['r_software', 'r_pkg', 'r_pkg_hold'] tags: ['r_software', 'r_pkg', 'r_pkg_hold']
- name: r-installation-deb | Manage additional packages - name: r-installation-deb | Manage deb packages from CRAN
tags: ['r_software', 'r_pkg', r_unversioned_packages] when: r_cran_install_from_ppa
tags: ['r_software', 'r_pkg', r_cran_packages]
block: block:
- name: r-installation-deb | Install some additional R modules from the deb repo - name: r-installation-deb | Install some additional R modules from the CRAN deb repo
ansible.builtin.apt: ansible.builtin.apt:
pkg: '{{ r_plugins_packages_list }}' pkg: '{{ r_plugins_packages_list }}'
state: present state: present
cache_valid_time: 3600 cache_valid_time: 3600
- name: r-installation-deb | Manage dependencies required by R packages installed from source
tags: ['r_software', 'r_pkg', r_cran_dependencies]
block:
- name: r-installation-deb | Install some packages required by R packages when installed from source - name: r-installation-deb | Install some packages required by R packages when installed from source
ansible.builtin.apt: ansible.builtin.apt:
pkg: '{{ r_distribution_required_packages }}' pkg: '{{ r_distribution_required_packages }}'
state: present state: present
cache_valid_time: 3600 cache_valid_time: 3600
tags: ['r_software', 'r_pkg', 'r_deps']