dot-data_spec_update: Update data spec in the correct YAML file

.data_spec_updateR Documentation

Update data spec in the correct YAML file

Description

Traverses a dot-notated key like "final.public.test" and updates or inserts the given spec in the corresponding YAML file (either embedded in settings.yml or in an external settings/data.yml file). Automatically handles nested paths and creates intermediate structures as needed.

Usage

.data_spec_update(path, spec)

Arguments

path

Dot notation key (e.g., "final.public.test") indicating where to place the spec in the configuration hierarchy

spec

A named list containing the data spec fields (path, type, delimiter, locked, encrypted, etc.)

Value

Invisibly returns NULL. Function is called for its side effect of updating the YAML configuration file.


framework documentation built on Feb. 18, 2026, 1:07 a.m.