install r-cran-devtools when using the PPA.
This commit is contained in:
parent
c2ab5c0384
commit
82453ff46d
|
@ -44,6 +44,14 @@
|
||||||
register: install_devtools_result
|
register: install_devtools_result
|
||||||
failed_when: "install_devtools_result.rc != 0 or 'had non-zero exit status' in install_devtools_result.stderr"
|
failed_when: "install_devtools_result.rc != 0 or 'had non-zero exit status' in install_devtools_result.stderr"
|
||||||
changed_when: "'Added' in install_devtools_result.stdout"
|
changed_when: "'Added' in install_devtools_result.stdout"
|
||||||
|
when: not r_install_cran_repo
|
||||||
|
|
||||||
|
- name: Install the r-cran-devtools deb package
|
||||||
|
apt:
|
||||||
|
pkg: r-cran-devtools
|
||||||
|
state: present
|
||||||
|
cache_valid_time: 3600
|
||||||
|
when: r_install_cran_repo
|
||||||
|
|
||||||
- name: Install R packages from the cran sources repo or from an alternative repository, latest available version.
|
- name: Install R packages from the cran sources repo or from an alternative repository, latest available version.
|
||||||
command: >
|
command: >
|
||||||
|
|
Loading…
Reference in New Issue