forward3d / puppet-r

Puppet module for R and R packages
http://forward3d.com
10 stars 29 forks source link

Puppet R module

This module gives you the ability to install R, but also R packages.

Usage

To install R you need to include the class...

class { 'r': }

Then define any packages you want to be installed...

r::package { 'ggplot2': }
r::package { 'reshape': }

To define a package, and all required dependencies, use this format: r::package { 'reshape': dependencies => true, }

on RHEL/CentOS machines, make sure you have EPEL enabled, or R won't install properly.

Testing

Testing is done via rspec-puppet, install dependencies

bundle install

run tests

rspec