store_reset() creates a current-schema store at path. Existing stores are
moved to a timestamped sibling by default, preserving query snapshots,
downloads, extracted climate data, generated EPWs, and run history for
manual recovery. Permanent removal requires both backup = FALSE and
force = TRUE.
store_reset(path = store_dir(init = FALSE), backup = TRUE, force = FALSE)Store directory to recreate. Defaults to store_dir().
Whether to move an existing store to a timestamped sibling
before creating the replacement. Default: TRUE.
Required when backup = FALSE would permanently remove an
existing populated store. Default: FALSE.
Invisibly, a list containing the new path, optional backup_path,
previous and current schema versions, and the performed action.
This function does not migrate older manifests. Close open EsgStore objects and stop active foreground or background jobs before resetting.