View source: R/project-inspection.R
| rrp_project_status | R Documentation |
Read project identity and completed-run status without sourcing the project's analytical scripts, executing an assessment, or changing state. This also works before analytical state has been initialized.
rrp_project_status(path)
path |
Path to an existing RRP project directory. |
The latest run is the most recently recorded completed run by
created_at, not the largest analytical as_of_time. Ties in recorded
creation time are broken by run_id. Reads use a read-only connection and
do not initialize state.
An ordinary named list containing character project_id, logical
state_initialized, integer run_count, character latest_run_id, and
UTC POSIXct latest_as_of_time. The latest fields are typed missing
values when there are no runs.
project <- tempfile("rrp-status-")
rrp_project_init(project, "example-rrp")
rrp_project_status(project)
unlink(project, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.