read_yaml: Import yaml

Description Usage Arguments Value Examples

View source: R/config.R

Description

Reads a yaml file

Usage

1
read_yaml(pth)

Arguments

pth

the path to the yaml file

Value

a nested list

Examples

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

## End(Not run)

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