Converts between 'YAML' 1.2 (<https://yaml.org/spec/1.2.2/>) and ordinary R objects using a bundled copy of the 'cyaml' C11 parser and emitter (<https://github.com/andrewmd5/cyaml>), so there is no system dependency and no runtime dependency beyond R itself. Ambiguous 'YAML' features are handled strictly and predictably: duplicate keys are refused by default, the 'YAML' 1.2 core schema is followed so that yes and no resolve as strings, and integers beyond double precision are preserved rather than silently rounded. A stream of documents and a sequence are different things, and the interface keeps them apart. Input size, nesting depth and the number of values materialised are all bounded, which makes the parser usable on untrusted input.
Package details |
|
|---|---|
| Author | Pedro Baltazar [aut, cre, cph], Andrew Sampson [ctb, cph] (author of the bundled cyaml library) |
| Maintainer | Pedro Baltazar <pedrobtz@gmail.com> |
| License | MIT + file LICENSE |
| Version | 0.1.0 |
| URL | https://github.com/pedrobtz/zuyaml https://pedrobtz.github.io/zuyaml/ |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.