update_yaml: Exports yaml

Description Usage Arguments Examples

View source: R/config.R

Description

Exports a yaml file

Usage

1
update_yaml(config, pth)

Arguments

config

the nested list to output as a configuration file

pth

the path to the yaml file

Examples

1
2
3
4
5
6
7
## Not run: 
pth <- "./tests/testthat/test.yaml"
config <- read_yaml(pth)
config$test3 <- 3
update_yaml(pth)

## End(Not run)

holmesjoli/utilsR documentation built on Aug. 13, 2019, 12:31 p.m.