R/yml.R
yml_load.Rd
yml_load() is a wrapper for yaml::yaml.load() that also converts the object to the yml class.
yml_load()
yaml::yaml.load()
yml
yml_load(x)
an object to pass to yaml::yaml.load()
c("title: my title", "author: Malcolm Barrett") %>% yml_load() #> --- #> title: my title #> author: Malcolm Barrett #> --- #>