Learn R Programming

dockr (version 0.8.6)

create_from_statement: Create From Statement for Dockerfile

Description

Creates FROM statement for Dockerfile and sets it up with a relevant `rocker` r-base image as a starting point.

Usage

create_from_statement(r_version = NULL, verbose = FALSE)

Arguments

r_version

character which version of base R to include in the Docker image, e.g. '3.6.0'. Defaults to NULL, which implies that the active version of R will apply.

verbose

logical should messages be printed or not?

Value

character FROM statement for Dockerfile.