brapiR2: A Tidyverse-Native Client for the 'BrAPI' v2 (Breeding API) Specification

Provides pipe-friendly, stateless read access to the Breeding API ('BrAPI') v2.1 specification, an open community standard for plant breeding data interchange maintained by the BrAPI project <https://brapi.org>. Wraps 32 of the 37 'BrAPI' v2.1 entities across all four modules, Core, Germplasm, Phenotyping, and Genotyping, covering 49 of the specification's 138 retrieval ('GET' and search) endpoints and returning tidy tibbles ready for analysis. Write and update endpoints are out of scope by design. Features include automatic pagination, async search handling, response caching, parallel batch fetching, and convenience functions for genomic selection workflows (e.g. dosage matrix extraction). Designed for plant breeders and bioinformaticians who need programmatic access to plant breeding databases that implement the 'BrAPI' v2 specification.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: cli (≥ 3.6.0), dplyr (≥ 1.1.0), glue (≥ 1.6.0), httr2 (≥ 1.0.0), jsonlite (≥ 1.8.0), purrr (≥ 1.0.0), rlang (≥ 1.1.0), stats, tibble (≥ 3.2.0), tidyr (≥ 1.3.0), tidyselect (≥ 1.2.0), utils
Suggests: furrr (≥ 0.3.0), future (≥ 1.33.0), httptest2, keyring, knitr, rappdirs, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-05
DOI: 10.32614/CRAN.package.brapiR2 (may not be active yet)
Author: Joash Joshua Ayo ORCID iD [aut, cre, cph], David Waring [rev] (David reviewed the package (v. 0.1.0) for rOpenSci, see <https://github.com/ropensci/software-review/issues/792>), Jenna Hershberger [rev] (Jenna reviewed the package (v. 0.1.0) for rOpenSci, see <https://github.com/ropensci/software-review/issues/792>)
Maintainer: Joash Joshua Ayo <joashjoshua789 at gmail.com>
BugReports: https://github.com/ropensci/brapiR2/issues
License: MIT + file LICENSE
URL: https://github.com/ropensci/brapiR2, https://docs.ropensci.org/brapiR2/
NeedsCompilation: no
Language: en-GB
Citation: brapiR2 citation info
Materials: README, NEWS
CRAN checks: brapiR2 results

Documentation:

Reference manual: brapiR2.html , brapiR2.pdf
Vignettes: brapiR2 (source, R code)

Downloads:

Package source: brapiR2_0.2.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=brapiR2 to link to this page.