resources.factory
Resource Specification Factory
Description
Resource specification factory
Usage
resources.factory
Format
Named list of constructor functions returning ResourceSpec.
Details
Factory constructors for creating ResourceSpec objects with consistent parameter naming, metadata handling, and serializer defaults.
Every constructor accepts:
-
identity parameters for the resource type;
-
.metafor runtime metadata/capabilities that do not affect identity; -
.serializerfor persistence strategy.
The default serializer is resources.serializer$rds, except gwas.sumstats, which defaults to resources.serializer$data.fst.