Runs datum --json check, validates its implicit protocol v1 response, and
returns one normalized record per configured dataset. Changed data is a
successful result even when datum uses exit status 1 for a fail policy.
Arguments
- targets
Reserved for target selection.
datum1.x checks all targets, so this must currently beNULL.- config
Optional datum configuration path.
- lock
Optional datum lockfile path.
- ...
Reserved for documented high-level options; currently empty.
- executable
Optional explicit executable path.
- wd
Optional child-process working directory.
- timeout
Positive finite timeout in seconds.
- concurrency
Number of datasets processed concurrently. Defaults to 1 because
datumdocuments a shared-target race at higher concurrency.- quiet
Suppress automatic interactive printing. Explicit
print()always works.
Details
datum check always updates its lockfile timestamps and may replace target
files when a dataset uses the update policy. It does not modify the datum
configuration file.
Examples
if (datum_available()) {
result <- datum_check(quiet = TRUE)
result$changed
as.data.frame(result)
}
#> Error in datum_check(quiet = TRUE): datum could not start the check.
#> ✖ config error: open .data.yaml: no such file or directory
