zuyaml: Parse and Emit 'YAML' 1.2

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.

Version: 0.1.0
Suggests: jsonlite, knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-07
DOI: 10.32614/CRAN.package.zuyaml (may not be active yet)
Author: Pedro Baltazar [aut, cre, cph], Andrew Sampson [ctb, cph] (author of the bundled cyaml library)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zuyaml/issues
License: MIT + file LICENSE
Copyright: file inst/COPYRIGHTS
zuyaml copyright details
URL: https://github.com/pedrobtz/zuyaml, https://pedrobtz.github.io/zuyaml/
NeedsCompilation: yes
Language: en-GB
Materials: README, NEWS
CRAN checks: zuyaml results

Documentation:

Reference manual: zuyaml.html , zuyaml.pdf

Downloads:

Package source: zuyaml_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zuyaml to link to this page.