Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

forward3d/puppet-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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