Skip to contents

Parses a techspec file (or an already-parsed list) into the normalised list form used by tech_from_spec() and the process designer. YAML (.yml/.yaml) and JSON (.json) are alternative containers for the same structure.

Usage

read_techspec(spec)

Arguments

spec

Path to a .yml/.yaml/.json file, or a list as returned by yaml::read_yaml().

Value

The normalised spec list (invisibly validated; see tech_spec_issues() for the report).