getImageForVersion: getImageForVersion-method

Description Usage Arguments Details Value Examples

View source: R/utility-functions.R

Description

Get a suitable Rocker image based on the R version. Needs network access to retrieve the available images.

Usage

1
getImageForVersion(r_version, nearest = TRUE)

Arguments

r_version

A string representation of the R version, e.g. "3.4.2"

nearest

A boolean, should the closest version be returned if there is no match?

Details

If there was no matching image found, a warning is issued.

Value

A string with the name of the Docker image

Examples

1
2

o2r-project/containerit documentation built on June 28, 2021, 2:46 p.m.