Skip to contents

Split from atlas_manifest() so the publishing notebook asserts the same contract it writes, and the unit tests can exercise it without network.

Usage

validate_manifest(m, ver = NULL)

Arguments

m

parsed manifest (list)

ver

expected version, or NULL to skip the cross-check

Value

m, invisibly-but-returned (with $ver guaranteed)

Details

An app block is optional by presence (like v7.1's methods): a manifest without one validates, and one with it is checked against inst/schema/app_manifest.schema.json.