Closed campbead closed 9 months ago
I'm not sure if the default parameters should be FALSE
or TRUE
here...
I have to think about it.
@campbead I made some modifcation about the parameters (and because now we use a bundelised {renv} inside {dockerfiler} see :
#' @param renv_version character. The {renv} version to use in the generated Dockerfile.
#' By default, it is set to the version specified in the `renv.lock` file.
#' If the `renv.lock` file does not specify a {renv} version, the version of {renv} bundled with {dockerfiler}, specifically `dockerfiler::renv$the$metadata$version`, will be used. If you set it to NULL, the latest available version of {renv} will be used.
adding flag to dock_from_renv function, keep_renv_version to allow the dockerfile to use the same version of renv as specified in the lockfile.
See issue 59