yml_load: Load YAML from string

View source: R/yml.R

yml_loadR Documentation

Load YAML from string

Description

yml_load() is a wrapper for yaml::yaml.load() that also converts the object to the yml class.

Usage

yml_load(x)

Arguments

x

an object to pass to yaml::yaml.load()

Examples

c("title: my title", "author: Malcolm Barrett") %>%
  yml_load()


rstudio-education/ymlthis documentation built on Aug. 8, 2022, 3:41 p.m.