Skip to contents

Accepts the list shape a YAML or JSON registry parses into. Requires the yaml or jsonlite package only when reading those formats; neither is a hard dependency.

Usage

as_registry(x, package, ...)

Arguments

x

A list, or a path to a .yml, .yaml or .json file.

package

Declaring package name.

...

Passed to registry().

Value

A getaca_registry.

Details

Multi-part records are expressible, since a part() is data. A combiner() is not, so a record combined by anything other than the default has to be declared with resource() in R, where the function it names exists.