Skip to contents

Read outputs manifest from a project

Usage

morie_read_outputs_manifest(
  project_root = NULL,
  manifest_path = NULL,
  validate = TRUE
)

Arguments

project_root

Project root path.

manifest_path

Optional explicit manifest path.

validate

If TRUE, validate schema.

Value

Manifest data frame.

Examples

# Craft a minimal manifest in tempdir and read it back:
tdir <- tempfile("morie-doc-")
dir.create(tdir)
man <- file.path(tdir, "outputs_manifest.csv")
write.csv(
  data.frame(
    output = "results.csv",
    public_path = file.path(tdir, "results.csv"),
    size_kb = 0.01, modified = format(Sys.Date())
  ),
  man,
  row.names = FALSE
)
writeLines("x,y\n1,2", file.path(tdir, "results.csv"))
morie_read_outputs_manifest(manifest_path = man)
#>        output                                        public_path size_kb
#> 1 results.csv /tmp/Rtmpz3slim/morie-doc-3248445c1135/results.csv    0.01
#>     modified
#> 1 2026-06-29