Skip to contents

Create a dockerfile from an renv.lock file

Usage

dk_from_renv(
  lock_file = "renv.lock",
  r_version = NULL,
  base_image = NULL,
  include_sysreqs = TRUE
)

Arguments

lock_file

Path to renv.lock file

r_version

R version to use (default: from lock file)

base_image

Base image to use (default: determined from R version)

include_sysreqs

Include system requirements (default: TRUE)

Value

A dockerfile object