as_yamlet: Coerce to Yamlet

Description Usage Arguments Value See Also Examples

View source: R/yamlet.R

Description

Coerces something to yamlet format. If the object or user specifies default keys, these are applied. See as_yamlet.character.

Usage

1

Arguments

x

object

...

passed arguments

Value

a named list

See Also

Other yamlet: [.yamlet(), as.character.yamlet(), as_yamlet.character(), as_yamlet.data.frame(), as_yamlet.list(), as_yamlet.yamlet(), as_yamlet.yam(), print.yamlet()

Examples

1
2
3
4
5
6
file <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
file
identical(as_yamlet(as_yam(file)), as_yamlet(file))

# Read yamlet from storage and apply default keys.
as_yamlet(file)

yamlet documentation built on July 19, 2021, 1:06 a.m.