Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

r-project (2) Versions 0.2.0

Installs/Configures R

Berkshelf
Policyfile
Knife
cookbook 'r-project', '~> 0.2.0'
cookbook 'r-project', '~> 0.2.0', :supermarket
knife cookbook site install r-project
knife cookbook site download r-project
README
Dependencies
Quality 38%

Description

This cookbook installs and configures R. It also contains an R_package provider which can be used in recipes to install R packages from CRAN.

Requirements

  • apt: Required for APT installation.
  • build-essential: Required for source installation.

Attributes

  • node['R']['cran_mirror]: Used by the Rprofile.site template to set the system-wide default CRAN mirror.

  • node['R']['version']: The R version to install. When using Apt, set to nil to always get the latest version.

  • node['R']['config_opts]: Options to pass to R's configure script. Source install only.

Providers

R_package

The R_package provider can be used to manage packages available in the CRAN repository. Currently to use this provider, your default CRAN mirror must be set. The default recipe sets this for you.

Actions

  • :install: Installs the package from CRAN. Does nothing if the package is already installed. [default]

  • :upgrade: Upgrades the package to the latest version. Currently this will re-install the package even if it is at the latest version.

  • :remove: Removes the package if it is installed.

Examples

Install a package:

R_package "snow"

Remove a package:

R_package "snow" do
    action :remove
end

Usage

Add the default recipe to the run_list of a node or role.

Dependent cookbooks

build-essential >= 0.0.0
apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.0 failed this metric

FC021: Resource condition in provider may not behave as expected: r-project/providers/package.rb:22
FC021: Resource condition in provider may not behave as expected: r-project/providers/package.rb:36
FC064: Ensure issues_url is set in metadata: r-project/metadata.rb:1
FC065: Ensure source_url is set in metadata: r-project/metadata.rb:1
FC066: Ensure chef_version is set in metadata: r-project/metadata.rb:1
FC069: Ensure standardized license defined in metadata: r-project/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: r-project/resources/package.rb:1
FC122: Use the build_essential resource instead of the recipe: r-project/recipes/default.rb:77
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Publish Metric
            

0.2.0 passed this metric

Supported Platforms Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number