- project
The project directory. When NULL (the default), the current
working directory will be used. The R working directory will be
changed to match the requested project directory.
- ...
Unused arguments, reserved for future expansion. If any arguments
are matched to ..., renv will signal an error.
- profile
The profile to be activated. See
vignette("profiles", package = "renv") for more information.
When NULL (the default), the profile is not changed. Use
profile = "default" to revert to the default renv profile.
- settings
A list of settings to be used with the newly-initialized
project.
- bare
Boolean; initialize the project with an empty project library,
without attempting to discover and install R package dependencies?
- force
Boolean; force initialization? By default, renv will refuse
to initialize the home directory as a project, to defend against accidental
misusages of init().
- repos
The R repositories to be used in this project.
See Repositories for more details.
- bioconductor
The version of Bioconductor to be used with this project.
Setting this may be appropriate if renv is unable to determine that your
project depends on a package normally available from Bioconductor. Set this
to TRUE to use the default version of Bioconductor recommended by the
BiocManager package. When NULL (the default), the value is inferred
from the bioconductor.init configuration option -- see config for more
details.
- load
Boolean; should the project be loaded after it is initialized?
- restart
Boolean; attempt to restart the R session after initializing
the project? A session restart will be attempted if the "restart" R
option is set by the frontend hosting R.