powered by
Checks whether the local ACDC SQLite database (acdc.db) is up to date with the release on jstbcs/acdc-database and optionally downloads the latest version.
acdc.db
jstbcs/acdc-database
update_acdc( local_sqlite_path, tag = NULL, update = FALSE, token = Sys.getenv("GITHUB_PAT"), algo = "sha256" )
Invisibly returns TRUE if up to date, FALSE if outdated.
Path to the local acdc.db file.
Optional release tag. If NULL, uses latest release.
Logical; if TRUE, will download the latest database when the local copy is outdated (default: FALSE).
Optional GitHub token. Defaults to Sys.getenv("GITHUB_PAT").
Sys.getenv("GITHUB_PAT")
Hash algorithm (default: "sha256").
"sha256"
if (FALSE) { update_acdc("acdc.db") update_acdc("acdc.db", update = TRUE) }
Run the code above in your browser using DataLab