check_for_existing_model: Private helper to look for existing model and overwrite if...

View source: R/new-model.R

check_for_existing_modelR Documentation

Private helper to look for existing model and overwrite if necessary

Description

Private helper to look for existing model and overwrite if necessary

Usage

check_for_existing_model(.path, .overwrite)

Arguments

.path

Path to save the new model. Will be the path to the model file and YAML file (both without extension), and the path to the output directory.

.overwrite

If FALSE, the default, error if a file already exists at .yaml_path. If TRUE overwrite existing file and output directory, if they exist.


metrumresearchgroup/rbabylon documentation built on April 21, 2024, 3:26 a.m.