Skip to contents

This function is deprecated. Please use boilerplate_init("measures") instead.

Usage

boilerplate_init_measures(
  merge_strategy = c("keep_existing", "merge_recursive", "overwrite_all"),
  measures_path = NULL,
  file_name = NULL,
  overwrite = FALSE,
  quiet = FALSE,
  dry_run = FALSE,
  create_dirs = FALSE,
  confirm = TRUE
)

Arguments

merge_strategy

Character. How to merge with existing database.

measures_path

Character. Path to the directory where measures database files are stored.

file_name

Character. Name of the file to save or load (without path).

overwrite

Logical. Whether to overwrite existing entries (deprecated).

quiet

Logical. If TRUE, suppresses all CLI alerts.

dry_run

Logical. If TRUE, simulates the operation without writing files.

create_dirs

Logical. If TRUE, creates directories that don't exist.

confirm

Logical. If TRUE, asks for confirmation before making changes.

Value

Invisibly returns a logical value indicating if the measures database was successfully initialized.