Skip to content
Framework

Workflow

spec_check()

Check a Resolved Project Spec

Checks a resolved spec for the problems project_create() cannot recover from: missing sections, unknown values, and paths that would write outside the project. The JSON Schema in inst/schema/spec.v1.json describes the same shape for other tools.

Usage

spec_check(spec)

Arguments

Name Description
spec

A resolved spec, as returned by spec_resolve().

Value

A character vector of problems, empty when the spec is valid.

Related reference

Search guides and reference for R, Python, Stata, the CLI, and Framework Cloud.