Build a Data Collection Framework project, which involves processing and checking all data projects.
Usage
dcf_build(
project_dir = ".",
is_auto = TRUE,
...,
make_diagram = TRUE,
make_file_log = TRUE
)
Arguments
- project_dir
Path to the Data Collection Framework project to be built.
- is_auto
Logical; if
FALSE
, will rundcf_process
as if it were run manually.- ...
Passes arguments to
dcf_process
.- make_diagram
Logical; if
FALSE
, will not make astatus.md
diagram.- make_file_log
Logical; if
FALSE
, will not make afile_log.json
output.
Examples
project_file <- "../../../pophive"
if (file.exists(project_file)) {
report <- dcf_build(project_file)
}
#> Error in dcf_read_settings(project_dir): `project_dir` (../../../pophive) does not appear to be a Data Collection
#> Framework project