Reconstruct the report's classes from the supplied schema and defaults
artifacts. Parsing does not open referenced files. With load_data = TRUE,
verify file integrity and dimensions, then validate the materialized values.
Native fitted objects are not restored.
Usage
read_result(file, registry, load_data = FALSE)
Arguments
- file
Character: Result JSON path.
- registry
Character: Local registry directory containing versioned
schema documents and defaults/v1/defaults.json.
- load_data
Logical: Materialize Parquet references.
Value
An S7 report reconstructed from registry declarations.
Examples
# A local registry is supplied explicitly; reading never fetches schemas.
reader <- function(file, registry) read_result(file, registry, load_data = TRUE)