get_rmd_yaml: Extract YAML attribute

Description Usage Arguments

Description

Gets a given attribute, based on the key, from a YAML file.

Usage

1
get_rmd_yaml(path, attribute, default = "")

Arguments

path

(character) The path to a YAML file.

attribute

(character of length 1) The key of the attribute to get.

default

(character of length 1) the default to return of the key is not found.


grunwaldlab/labtools documentation built on May 17, 2019, 8:38 a.m.