Creates and initializes a new Project R6 object from a DESCRIPTION file (local or remote) or from manually supplied metadata.
Usage
dl_project_init(
DESCRIPTION = "DESCRIPTION",
project = NULL,
overwrite = FALSE,
env = "prod"
)Arguments
- DESCRIPTION
Optional. Either:
A local path to a DESCRIPTION file (e.g., "DESCRIPTION").
A Git path (e.g., "packages/g6tr.projects/vignettes/2025-08-01_fever").
NULL, to create an empty project initialized with provided metadata.
- project
Character. Project ID when creating a new project without a DESCRIPTION file.
Required if
DESCRIPTIONisNULL.Optional otherwise.
- overwrite
Logical. If
TRUE, overwrite an existing project in S3. IfFALSE, the function will confirm existence but not modify the object.- env
Datalake environment (
"prod"or"test"). Default"prod".