You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2020. It is now read-only.
I'm using puppet-r with Vagrant. It was necessary to make a couple of tweaks to get things working:
Firstly, in Ubuntu 14.04, the /usr/local/lib/R/site-library has permissions:
drwxrwsr-x root staff
Vagrant creates the user vagrant which doesn't belong to the staff group and therefore can't write to the site-library folder. I added the user vagrant to the staff group:
user { 'vagrant':
groups => ["vagrant", "staff"]
}
Secondly, one of my favorite packages, dplyr, takes a while to build in a gutless VM. This causes timeouts. I extended the timeout period in package.pp by adding the following line to the exec command:
timeout => 600,
I thought I'd share in case someone else encounters the same issues.
I'm using
puppet-rwith Vagrant. It was necessary to make a couple of tweaks to get things working:Firstly, in Ubuntu 14.04, the
/usr/local/lib/R/site-libraryhas permissions:Vagrant creates the user
vagrantwhich doesn't belong to thestaffgroup and therefore can't write to thesite-libraryfolder. I added the uservagrantto thestaffgroup:Secondly, one of my favorite packages,
dplyr, takes a while to build in a gutless VM. This causes timeouts. I extended the timeout period inpackage.ppby adding the following line to the exec command:I thought I'd share in case someone else encounters the same issues.