Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
- Puppet >= 7.24 < 9.0.0
Start using this module
Add this module to your Puppetfile:
mod 'NeilHanlon-r', '0.2.0'
Learn more about managing modules with a PuppetfileDocumentation
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.
Reference
Table of Contents
Classes
Defined types
Classes
r
The r class.
Defined types
r::package
The r::package class.
Parameters
The following parameters are available in the r::package
defined type:
r_path
Data type: Any
Default value: ''
repo
Data type: Any
Default value: 'http://cran.rstudio.com'
dependencies
Data type: Any
Default value: false
timeout
Data type: Any
Default value: 300
local
Data type: Any
Default value: false
creates
Data type: Any
Default value: undef
shortname
Data type: Any
Default value: undef
environment
Data type: Any
Default value: []
configure_arguments
Data type: Any
Default value: ''
MIT License Copyright (c) 2022 puppet-r authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.