Reads a file produced by sus_rap_export() and reconstructs a live
rap_object containing session metadata, configurable parameters, and the
pipeline step list. The result can be inspected with sus_rap_inspect(),
re-executed with sus_rap_run(), or patched with sus_rap_update().
Arguments
- file_path
character(1)- Path to an.R,.Rmd, or.qmdfile exported bysus_rap_export().- lang
character(1)- Language for messages:"pt"(default),"en", or"es".- validate
logical(1)- Check structural integrity. DefaultTRUE.
Value
A rap_object list with fields $metadata, $params, $steps,
$structure, $source, $format, and $raw.
Examples
if (FALSE) { # \dontrun{
rap <- sus_rap_read("pipeline_sp.R")
print(rap)
} # }