
Refresh registry derived files (maintainer; light by default)
Source:R/prepare_folder_paper.R
refresh_registry.RdLight path (audit = FALSE, default):
Rebuild
index.csvfromstudies/*.ymlstubsRebuild
shiny_studies.json(viabuild_registry_index())Seed
audit_jobs.csvgaps from bake timings / artifacts / prior RDS (no live engines)Rebuild
audit_summary.json/audit_latest.rds(Shiny health bar)
Usage
refresh_registry(
registry_root = NULL,
audit = FALSE,
patience = 20,
install_deps = FALSE,
verbose = TRUE,
substantive = TRUE,
seed = TRUE
)Arguments
- registry_root
Path to the registry repository root.
- audit
FALSE(default) for light refresh only;TRUEfor a full live audit; or a character vector of DOIs/handles for a subset audit.- patience
Seconds per replication when auditing.
- install_deps
Passed to
audit_everything().- verbose
Passed to seed /
audit_everything().- substantive
Passed to
audit_everything().- seed
If
TRUE(default), fill audit CSV gaps before rebuilding the summary. SetFALSEto rebuild the summary from the existing CSV only.
Details
Heavy path: set audit = TRUE for a full live audit_everything(), or pass
a character vector of DOIs/handles to audit only those studies. Live audit
always runs after the light path and refreshes the derived summary.
Examples
if (FALSE) { # \dontrun{
options(replicateEverything.registry_root = "../registry")
refresh_registry()
refresh_registry(audit = TRUE, patience = 20)
refresh_registry(audit = "10.1177/00491241211036161")
} # }