ansible-r
ansible-r copied to clipboard
Support install_github from devtools/remotes?
It would be great if this role would support install_github
(and related) from devtools or from remotes (which should be the same...)
Besides the convenience, some projects (e.g. R for jupyter notebooks) can only be installed this way.
Any plan or interest on supporting devtools/remotes?
Installation of packages from github.com is already supported, but I'm definitely interested in improving this and making more remotes available.
Thanks for your answer. Can you please elaborate some or point me to the documentation on how to install from github in the current version?
There's an example in the Readme. You need to specify an organization/repository and a type (github)
I'd be glad to work on improving it as well since I submitted the original PR. I think adding additional remotes is a great idea. See the README here and you'll find an example.
Also have a look at the R-install-requirements
script that is included in this role. We use this script to install requirements for shiny-apps (from a file)
Something like this would be nice.
r_packages:
- name: dplyr
- name: mypersonal/project
type: customer
uri: [email protected]
credentials:
pub_key: ~/.ssh/id_rsa.pub
private_key: ~/.ssh/id_rsa
I'm not suggesting that this syntax is right, but something along these lines.