AIRR Data Representation Reference Library
Overview
Schema definitions and read, write and validation tools for data formatted in accordance with the AIRR Data Representation schemas defined by the AIRR Community https://docs.airr-community.org.
Deprecation and Removal:
- Completely removed
read_alignment,write_alignment, andAlignmentSchema. Removed "Alignment" from the valid definitions list andAIRRSchema.
Tabular Data and Parsing:
- Updated
read_tabularto initially treat logical columns as character data to prevent silentNAconversions during parsing, then explicitly casting valid logical character values. - Updated
validate_tabularto support character strings representing logical values (e.g., "TRUE", "T", "False", "F") when validating logical fields.
Validation:
- Enhanced
validate_entryto support comprehensive validation of arrays without reference schemas, including item type checking (string, integer, number, boolean) and enum constraints.
Show all changes in 2.0.0Hide the rest of the changes in 2.0.0
- Added rigorous type and enum validation for individual fields within
validate_entry, providing explicit warnings for unrecognized types. - Added an ontology validation check in
validate_entryto ensure that an ontology field is structured as a list before performing recursive validation.
Data Model and Schema:
- Updated
AIRRSchemato replace theAcknowledgementschema with the newContributorschema. - Added a safety check in
extract_field_contentto handle fields with null properties safely.
+
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-10
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-05-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 88%
- Documented parameters
- 100%
- Return-value docs
- 63%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 263
- Median days to close, 50 most recently updated closed PRs
- 32
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/airr-community/airr-standards on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2023-04-17
Show all practicesHide 1 practice
Dependencies
Installing airr adds 27 packages (16 with compiled code, 19 MB of source tarballs). Heaviest: stringi 11 MB, jsonlite 1.0 MB, vctrs 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.0.0Latest2026-06-06 · current release · diff ↗ ·
removed 3 exports
AlignmentSchema, read_alignment, write_alignment - RR 4.6.0 released · 2026-04-24
- 1.6.12026-02-18 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.5.02023-08-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4.12022-08-28 · diff ↗
- 1.4.02022-08-27 · diff ↗ ·
added 10 exports
AIRRSchema, DataFileSchema, GenotypeSetSchema, GermlineSetSchema, InfoSchema, RepertoireSchema, read_tabular, validate_rearrangement, validate_tabular, write_tabular - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.3.02020-05-27 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.2.02018-08-18 · diff ↗
- 1.1.02018-05-03
Show 1 earlier eventHide 1 earlier event
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-05-03
- Total releases
- 8 / 8 yrs
- License
- CC BY 4.0
- Minimum R
- ≥ 3.1.2
- Download size
- 393 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("airr")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-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.