
Inspect the Progress Log of a Checkpointed Run
Source:R/env_data_collection_src.R
read_progress_log.RdReturns the per-environment retrieval history written by
get_weather_resumable or get_soil_resumable:
what succeeded, what failed, when, and with which error message.
Arguments
- run.id
character. Run directory name.
- dir.path
character. Parent directory. Default
getwd().- all
logical. If
TRUE, return every record including superseded retries. IfFALSE(default), the latest record per environment.- verbose
boolean. If
TRUE(default) prints a progress banner.
Examples
if (FALSE) { # \dontrun{
## Requires a saved run created by get_soil_resumable().
lg <- read_progress_log(run.id = "zoning_grid")
table(lg$status)
## Why did they fail?
subset(lg, status == "failed")[, c("env", "message")]
## Full history including retries
read_progress_log(run.id = "zoning_grid", all = TRUE)
} # }