diff --git a/DESCRIPTION b/DESCRIPTION index 4771ed7..76e728b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -31,7 +31,8 @@ Imports: httr, vctrs, renv, - here + here, + lifecycle Depends: R (>= 3.5.0) VignetteBuilder: knitr diff --git a/R/installation.R b/R/installation.R index 2bd56c6..47dd099 100644 --- a/R/installation.R +++ b/R/installation.R @@ -498,6 +498,7 @@ export_renv <- function(rang, path = ".") { #' @param skip_r17 logical, whether to skip R 1.7.x. Currently, it is not possible to compile R 1.7.x (R 1.7.0 and R 1.7.1) with the method provided by `rang`. It affects `snapshot_date` from 2003-04-16 to 2003-10-07. When `skip_r17` is TRUE and `snapshot_date` is within the aforementioned range, R 1.8.0 is used instead #' @param insert_readme logical, whether to insert a README file #' @param copy_all logical, whether to copy everything in the current directory into the container. If `inst/rang` is detected in `output_dir`, this is coerced to TRUE. +#' @param method character, can only be "auto", "evercran", "rocker", or "debian". Select which base image is used. "auto" (the default) selects the best option based on the R version. "evercran" is experimental. #' @param ... arguments to be passed to `dockerize` #' @return `output_dir`, invisibly #' @inheritParams export_rang diff --git a/man/apptainerize.Rd b/man/apptainerize.Rd index 7d3451c..e50d91e 100644 --- a/man/apptainerize.Rd +++ b/man/apptainerize.Rd @@ -84,6 +84,8 @@ and \code{\link[=download.file]{download.file()}}.} \item{copy_all}{logical, whether to copy everything in the current directory into the container. If \code{inst/rang} is detected in \code{output_dir}, this is coerced to TRUE.} +\item{method}{character, can only be "auto", "evercran", "rocker", or "debian". Select which base image is used. "auto" (the default) selects the best option based on the R version. "evercran" is experimental.} + \item{...}{arguments to be passed to \code{apptainerize}} } \value{ diff --git a/man/dockerize.Rd b/man/dockerize.Rd index 018a969..6789796 100644 --- a/man/dockerize.Rd +++ b/man/dockerize.Rd @@ -72,6 +72,8 @@ and \code{\link[=download.file]{download.file()}}.} \item{copy_all}{logical, whether to copy everything in the current directory into the container. If \code{inst/rang} is detected in \code{output_dir}, this is coerced to TRUE.} +\item{method}{character, can only be "auto", "evercran", "rocker", or "debian". Select which base image is used. "auto" (the default) selects the best option based on the R version. "evercran" is experimental.} + \item{...}{arguments to be passed to \code{dockerize}} } \value{