Skip to content

yaml

2.3.12

Methods to Convert R Data to YAML and Back

384packages depend
13.7Mdownloads / year
54.8%test coverage
11/13checks pass

Overview

About
Maintained by Hadley WickhamFirst published 2008-03-2138 releasesCRAN page ↗GitHub ↗

Implements the 'libyaml' 'YAML' 1.1 parser and emitter (https://pyyaml.org/wiki/LibYAML) for R.

Install

Health

CRAN checks
1ERROR1NOTE11OK
Failing flavors
  • NOTE r-release-macos-arm64
  • ERROR r-release-macos-x86_64
Slowest check: 2.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 2.81
54.8%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • ERROR2026-05-02
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-27
    11 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-31
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-28
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-25
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-03-22
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 75 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
98%
Return-value docs
80%
References docs
50%

Downloads

13.7M
CRAN downloads in the past year
Rank #46 · ~37.4K/day · ~1.1M/mo
Daily download trend is not available in this view yet.
1.1M30 days
3.4M90 days
13.7M1 year
Compare downloads with other packages →
Also on199.8K r2u190 autocran1.2M conda_forge641 bioconda11.8K c2d4u

Repository

Repository
169Stars
43Forks
16Open issues
1Open PRs
3Releases
365Commits
23Contributors
ryamlcran
365 commits · Last activity 2026-02-28 · 0% stars, 30d

Stars over time

2025-07-03 · 1642026-07-07 · 169

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/r-lib/yaml on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (2)
AirVS Code
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
C 17,183 (86%)R 1,949 (10%)Rd 539 (3%)Vignettes 261 (1%)YAML 45 (0%)
Code characteristics
Cyclomatic complexity
2.0 median / 13 max
Test cases
171 / 2.81 per code line

Test coverage

Line coverage

55%

Expression

54.6%

Tests / Examples

54.8% / 34% ex

Functions

245 6 exported

Complexity

4.6 avg / 13 max

Call network

245 nodes / 451 edges

Loading call graph…

Lowest coverage

245 functions
FunctionCycloCoverage
verbatim_logical exp10%
.onUnload10%
write_yaml exp567%
read_yaml exp1384%
yaml.load_file exp994%
as.yaml exp1100%

People & History

People (14)
Maintainer (1)
Maintainer · added in 2.1.19
Authors (2)
Author · added in 2.1.19
Author, Contributor
Contributors (12)
Author, Contributor
Contributor · added in 2.3.11
Contributor · added in 2.1.19
Contributor · added in 2.1.19
Contributor · added in 2.3.9
Contributor · added in 2.3.11
Contributor · added in 2.1.19
Contributor · added in 2.2.2
Show 4 more contributors
Contributor · added in 2.1.19
Contributor · added in 2.2.2
Contributor · added in 2.1.19
Contributor · added in 2.1.19
Listed in earlier versions (3)
no longer listed · 2.3.5 to 2.3.10
no longer listed · 2.3.11 to 2.3.12
no longer listed · 2.3.11 to 2.3.12
Package Timeline

38 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.3.12Latest
    2025-12-10 · current release · diff ↗
  • 2.3.11
    2025-11-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.3.10
    2024-07-26 · diff ↗
  • 2.3.9
    2024-07-05 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.3.8
    2023-12-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.3.7
    2023-01-23 · diff ↗
  • 2.3.6
    2022-10-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.3.5
    2022-02-21 · diff ↗
  • 2.3.4
    2022-02-17 · diff ↗
  • 2.2.2
    2022-01-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 46 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 2.2.1
    2020-02-01 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.2.0
    2018-07-25 · diff ↗
  • 2.1.19
    2018-05-01 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.1.18
    2018-03-08 · diff ↗
  • 2.1.17
    2018-02-28 · diff ↗
  • 2.1.16
    2017-12-12 · diff ↗
  • 2.1.15
    2017-12-02 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.1.14
    2016-11-12 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2.1.13
    2014-06-12 · diff ↗
  • 2.1.12
    2014-06-11 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2.1.11
    2014-03-15 · diff ↗
  • 2.1.10
    2014-01-04 · diff ↗
  • 2.1.9
    2013-12-29 · diff ↗
  • 2.1.8
    2013-08-23 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 2.1.7
    2013-03-05 · diff ↗
  • 2.1.6
    2013-01-18 · diff ↗
  • 2.1.5
    2012-11-15 · diff ↗
  • 2.1.4
    2012-04-05 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2.1.3
    2012-01-31 · diff ↗
  • 2.1.2
    2012-01-17 · diff ↗
  • 2.1.1
    2011-12-08 · diff ↗
  • 2.1.0
    2011-12-03 · diff ↗
  • 2.0.0
    2011-11-12 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 1.2.0
    2011-06-17 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • 1.1.0
    2009-09-12 · diff ↗
  • 1.0.2
    2009-08-26 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 1.0.1
    2008-11-14 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • 1.0
    2008-03-21
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →