A bundler for R capable of installing packages from cran
Add this line to your application's Gemfile:
gem 'rbundle'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rbundle
Create a file named dependencies.txt like below(YAML format)
---
- package: 'data.table'
version: '1.9.6'
- package: 'ISOweek'
version: '0.6-2'
From the folder containing the Rmake file run rbundle
$ rbundle
You are done, you should now see all packages(which are not present or having older versions) being downloaded and installed on your machine.
The base R installation cannot be automated. If unmatching R version is found, Rmake would stall requiring you to match the R version manually and then continue with package installation.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request