dcf_write_yaml_template: Write a commented YAML template for users to edit

View source: R/utils.R

dcf_write_yaml_templateR Documentation

Write a commented YAML template for users to edit

Description

Creates a 'YAML' file on disk from dcf_spec_template(), suitable for manual editing.

Usage

dcf_write_yaml_template(path)

Arguments

path

File path where to write the 'YAML' file (for example "my_case.yml").

Value

The input path, invisibly.

Examples

tmp <- tempfile(fileext = ".yml")
dcf_write_yaml_template(tmp)
stopifnot(file.exists(tmp))
unlink(tmp)


cre.dcf documentation built on April 10, 2026, 5:08 p.m.