Learn R Programming

yamlet (version 1.2.1)

to_yamlet.yamlet: Coerce Yamlet to Yamlet Storage Format

Description

Coerces yamlet to yamlet storage format by unclassing to list.

Usage

# S3 method for yamlet
to_yamlet(x, ...)

Value

length-one character

Arguments

x

object

...

ignored

See Also

Other to_yamlet: to_yamlet(), to_yamlet.NULL(), to_yamlet.character(), to_yamlet.default(), to_yamlet.list(), to_yamlet.numeric()

Examples

Run this code
library(magrittr)
 'a: [[d: [-1, 0, 1, 2]]]' %>% as_yamlet %>% to_yamlet

Run the code above in your browser using DataLab