Record R-multiverse package status in package-specific JSON files.
Usage
record_status(
repo = "https://community.r-multiverse.org",
versions = "versions.json",
output = "status.json",
mock = NULL,
verbose = FALSE
)
Arguments
- repo
URL of the repository to query.
- versions
Character of length 1, file path to a JSON manifest tracking the history of released versions of packages.
- output
Character of length 1, file path to the JSON file to record new package status. Each call to
record_status()
overwrites the contents of the file.- mock
For testing purposes only, a named list of data frames for inputs to various intermediate functions.
- verbose
TRUE
to print progress while checking dependency status,FALSE
otherwise.
Package status
Functions like issues_versions()
and issues_r_cmd_check()
perform health checks for all packages in R-multiverse.
For a complete list of checks, see
the issues_*()
functions listed at
https://r-multiverse.org/multiverse.internals/reference/index.html.
record_versions()
updates the version number history
of releases in R-multiverse, and record_status()
gathers
together all the status about R-multiverse packages.
Examples
if (FALSE) { # \dontrun{
output <- tempfile()
versions <- tempfile()
record_versions(
versions = versions,
repo = repo
)
record_status(
repo = repo,
versions = versions,
output = output
)
writeLines(readLines(output))
} # }