Closed verdurin closed 8 years ago
r_packages
is a list of dictionaries, see this file:
The playbook below will probably fix your problems (not tested):
- hosts: localhost
remote_user: root
roles:
- ansible-r
vars:
r_install_dev: true
# apt packages
r_install:
- r-recommended
# cran-r packages
r_packages:
- name: dplyr
Yes, something like that works. The README should probably be expanded to include this clarification, which wasn't apparent to me, at least. In other words, it wasn't clear that r_install
is for DEBs and r_packages
is for R packages.
Thanks.
Hello
Thanks for making this available - it's very useful.
However, I'm having trouble installing additional packages, with the following simple playbook:
This is the error I see:
I tried adding the packages into the 'r_install' variable, but they didn't work there either:
producing the error: