{"id":33764990,"url":"https://github.com/r-lib/yaml","last_synced_at":"2026-03-16T16:39:48.383Z","repository":{"id":395159,"uuid":"13136","full_name":"r-lib/yaml","owner":"r-lib","description":"R package for converting objects to and from YAML","archived":false,"fork":false,"pushed_at":"2025-12-08T16:54:12.000Z","size":2094,"stargazers_count":167,"open_issues_count":16,"forks_count":39,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-09T10:51:53.913Z","etag":null,"topics":["cran","r","yaml"],"latest_commit_sha":null,"homepage":"http://yaml.r-lib.org/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-lib.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2008-04-28T21:52:03.000Z","updated_at":"2025-12-08T16:52:40.000Z","dependencies_parsed_at":"2024-01-24T05:47:32.537Z","dependency_job_id":"319ee298-2efa-45a4-98a6-cf39ce3af60d","html_url":"https://github.com/r-lib/yaml","commit_stats":{"total_commits":324,"total_committers":19,"mean_commits":17.05263157894737,"dds":0.6574074074074074,"last_synced_commit":"735fb414987e3e373d72570837b0938de399f84e"},"previous_names":["viking/r-yaml","r-lib/r-yaml","r-lib/yaml","vubiostat/r-yaml"],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/r-lib/yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fyaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fyaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fyaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fyaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-lib","download_url":"https://codeload.github.com/r-lib/yaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fyaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27638209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-10T02:00:12.818Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","r","yaml"],"created_at":"2025-12-05T13:00:17.532Z","updated_at":"2025-12-10T12:04:13.169Z","avatar_url":"https://github.com/r-lib.png","language":"C","funding_links":[],"categories":["Table of Contents"],"sub_categories":["Data manipulation"],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# yaml\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/r-lib/yaml/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/yaml/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/r-lib/yaml/graph/badge.svg)](https://app.codecov.io/gh/r-lib/yaml)\n\u003c!-- badges: end --\u003e\n\nyaml provides R bindings to [libyaml](https://pyyaml.org/wiki/LibYAML), a fast [YAML](https://yaml.org/) parser and emitter.\n\n## Installation\n\nInstall from CRAN:\n\n```{r}\n#| eval: false\ninstall.packages(\"yaml\")\n```\n\nOr install the development version from GitHub:\n\n```{r}\n#| eval: false\n# install.packages(\"pak\")\npak::pak(\"r-lib/r-yaml\")\n```\n\n## Usage\n\n```{r}\nlibrary(yaml)\n```\n\nParse YAML with `yaml.load()` or `read_yaml()`:\n\n```{r}\nyaml.load(\n  \"\n- 1\n- 2\n- 3\n\"\n)\n\nyaml.load(\n  \"\na: 1\nb: 2\n\"\n)\n```\n\nConvert R objects to YAML with `as.yaml()` or `write_yaml()`:\n\n```{r}\ncat(as.yaml(list(a = 1:3, b = 4:6)))\n```\n\nSee `vignette(\"yaml\")` for more details on handlers, formatting options, and advanced usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lib%2Fyaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-lib%2Fyaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lib%2Fyaml/lists"}