Methods to Convert R Data to YAML and Back
Overview
Implements the 'libyaml' 'YAML' 1.1 parser and emitter (https://pyyaml.org/wiki/LibYAML) for R.
- Fixes for C API compliance.
- Switched from
CHANGELOGtoNEWS.md.
From NEWS.md in the release
Install
Health
ERRORtestsr-release-macos-x86_64
Running ‘testthat.R’ [0s/0s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(yaml)
>
> test_check("yaml")
Error in loadNamespace(x) : there is no package called 'cli'
Calls: test_check ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution haltedNOTEfor unstated dependencies in vignettesr-release-macos-arm64
Error: error in inferior call: .onLoad failed in loadNamespace() for 'knitr', details: call: loadNamespace(x) error: there is no package called ‘evaluate’ Execution halted
- ERROR11 OK, 1 NOTE, 1 ERROR2026-05-02
- NOTE11 OK, 1 NOTE2026-04-27
- OK14 OK2026-03-31
- ERROR13 OK, 1 ERROR2026-03-28
- OK14 OK2026-03-25
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-03-22
- OK14 OK2026-03-10
Documentation
- Help pages
- 6 (1 internal)includes a package overview page
- Examples that run
- 80%4 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 80%
- Help pages citing references
- 50%
- Introduction to yaml HTML
Downloads
Repository
- PRs merged (all time)
- 72%
- Median days to close, 50 most recently updated closed issues
- 109
- Median days to close, 50 most recently updated closed PRs
- 22
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commit identities over time
11 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/r-lib/yaml on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-12-08 · The repository has a site deploy workflow
pkgdown site last built 2025-12-08, before release 2.3.12 (2025-12-10)
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-12-04Seen in the repository: .claudeNamed in .Rbuildignore: .claude
- GitHub Copilotfirst seen 2026-02-28Pull request: opened by its own account
Dependencies
Installing yaml adds no packages beyond those that come with R.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 272 more dependents and 99 packages that suggest it on CRAN ↗
Code & Tests
People & History
Show 3 more contributorsHide 3 contributors
Previously maintained by Shawn Garbett (2.2.2 to 2.3.11) and Jeremy Stephens (1.0 to 2.2.1).
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.3.12Latest
- 2.3.112025-11-28 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.3.102024-07-26 · diff ↗
- 2.3.92024-07-05 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.3.8
- RR 4.3.0 released · 2023-04-21
- 2.3.72023-01-23 · diff ↗
- 2.3.62022-10-18 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.3.52022-02-21 · diff ↗
- 2.3.42022-02-17 · diff ↗
- 2.2.22022-01-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
Show 46 earlier eventsHide 46 earlier events
- RR 4.0.0 released · 2020-04-24
- 2.2.12020-02-01 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.2.02018-07-25 · diff ↗
- 2.1.192018-05-01 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.1.182018-03-08 · diff ↗
- 2.1.172018-02-28 · diff ↗
- 2.1.162017-12-12 · diff ↗
- 2.1.15
- RR 3.4.0 released · 2017-04-21
- 2.1.142016-11-12 · diff ↗
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 2.1.132014-06-12 · diff ↗
- 2.1.122014-06-11 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 2.1.112014-03-15 · diff ↗
- 2.1.102014-01-04 · diff ↗
- 2.1.92013-12-29 · diff ↗
- 2.1.82013-08-23 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 2.1.72013-03-05 · diff ↗
- 2.1.62013-01-18 · diff ↗
- 2.1.52012-11-15 · diff ↗
- 2.1.42012-04-05 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.1.32012-01-31 · diff ↗
- 2.1.22012-01-17 · diff ↗
- 2.1.1
- 2.1.02011-12-03 · diff ↗
- 2.0.02011-11-12 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.2.02011-06-17 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 1.1.0
- 1.0.22009-08-26 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 1.0.12008-11-14 · diff ↗
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- 1.02008-03-21
- RR 2.6.0 released · 2007-10-03
Package metadata
- First published
- 2008-03-21
- Total releases
- 38 / 18 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Download size
- 106 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("yaml")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.