R Observatory
Search
install.packages("readr")
CRAN 30-day downloads, method
749K−3.5% down on the 30 days before, the worse direction
Test coverage, method
85%of lines run by tests

The goal of 'readr' is to provide a fast and friendly way to read rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes.

Maintainer
Jennifer Bryan
Latest release
19 Feb 2026
First release
9 Apr 2015

Compare with another package

More details
Releases
24
Needs compilation
Yes
Needs R
>= 4.1
Config/Needs/website
tidyverse, tidyverse/tidytemplate
Config/testthat/edition
3
Config/testthat/parallel
false
Config/usethis/last-upkeep
2025-11-14
Language
en-US
RoxygenNote
7.3.3
Task views (1)
Collections (1) Method, Collections
  • tidyverse, installed by the tidyverse package
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("readr")
APA
Bryan, J., Posit Software, PBC, https://github.com/mandreyel/, Bearrows, S., Francois, R., Hester, J., Jylänki, J., Jørgensen, M., & Wickham, H. (2026). readr: Read Rectangular Text Data (Version 2.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.readr
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for readr version 2.2.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    2.2.0
    Time taken
    189 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    2.2.0
    Time taken
    138 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    2.2.0
    Time taken
    137 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    2.2.0
    Time taken
    134 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    327 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    2.2.0
    Time taken
    49 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    203 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    294 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    174 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    170 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    2.2.0
    Time taken
    35 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    169 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    2.2.0
    Time taken
    281 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
2 May 2026OK13000
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
954,195+4.4% up on the 30 days before, the better directionIt is the sum of 6 channels: CRAN, r2u, autoCRAN, conda-forge, Bioconda and c2d4u.

CRAN rank

78 of 26,530

CRAN

748,734 downloads in the last 30 days

Rank
78 of 26,530
Change
−3.5% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

32,656 downloads in the last 30 days

Rank
111 of 30,526
Change
+156% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

230 downloads in the last 30 days

Rank
124 of 29,212
Change
+29.2% up on the 30 days before, the better direction

It is in the total. Take it out

conda-forge

171,362 downloads in the last 30 days

Rank
82 of 3,828
Change
+38.7% up on the 30 days before, the better direction

It is in the total. Take it out

Bioconda

27 downloads in the last 30 days

Rank
3,933 of 4,976
Change
−3.6% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

1,186 downloads in the last 30 days

Rank
75 of 7,575
Change
−2.2% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
15
Dependent packages
763
Suggested by
304
Needs (15)
Installing it adds
23 packages, 6.4 MB of source
Of those, need compilation
12
Optional extras (11)
Dependent packages (50 of 763)
PackageTitleDownloads in 30 days
tidyverseEasily Install and Load the 'Tidyverse'858,284
havenImport and Export 'SPSS', 'Stata' and 'SAS' Files472,628
DescToolsTools for Descriptive Statistics63,537
DiagrammeRGraph/Network Visualization43,657
rioA Swiss-Army Knife for Data I/O38,558
bibliometrixComprehensive Science Mapping Analysis38,350
metaGeneral Package for Meta-Analysis24,324
visdatPreliminary Visualisation of Data19,769
timetkA Tool Kit for Working with Time Series15,364
tidyquantTidy Quantitative Financial Analysis15,039
tidycensusLoad US Census Boundary and Attribute Data as 'tidyverse' and 'sf'-Ready Data Frames13,576
openintroDatasets and Supplemental Functions from 'OpenIntro' Textbooks and Labs12,599
eurostatTools for Eurostat Open Data7,745
dataRetrievalRetrieval Functions for USGS and EPA Hydrology and Water Quality Data6,399
rmapshaperClient for 'mapshaper' for 'Geospatial' Operations5,970
openairTools for the Analysis of Air Pollution Data4,833
ipumsrAn R Interface for Downloading, Reading, and Handling IPUMS Data4,560
textdataDownload and Load Various Text Datasets4,541
DatabaseConnectorConnecting to Various Database Platforms4,484
geojsonioConvert Data from and to 'GeoJSON' or 'TopoJSON'4,401
HMDHFDplusRead Human Mortality Database and Human Fertility Database Data from the Web3,455
qualtRicsDownload 'Qualtrics' Survey Data3,231
alakazamImmunoglobulin Clonal Lineage and Diversity Analysis2,411
salesforcerAn Implementation of 'Salesforce' APIs Using Tidy Principles2,359
EcfunFunctions for 'Ecdat'2,344
radiant.dataData Menu for Radiant: Business Analytics using R and Shiny2,326
CDMConnectorConnect to an OMOP Common Data Model2,272
dataverseClient for Dataverse 4+ Repositories2,239
cansimAccessing Statistics Canada Data Table and Vectors2,148
mixlSimulated Maximum Likelihood Estimation of Mixed Logit Models for Large Datasets2,100
tidytuesdayRAccess the Weekly 'TidyTuesday' Project Dataset1,992
nasapowerNASA POWER API Client1,968
xgxrExploratory Graphics for Pharmacometrics1,967
valrGenome Interval Arithmetic1,927
pdfetchFetch Economic and Financial Time Series Data from Public Sources1,921
REDCapRInteraction Between R and REDCap1,886
gutenbergrDownload and Process Public Domain Works from Project Gutenberg1,853
rdflibTools to Manipulate and Query Semantic Data1,813
rdssCompanion Datasets and Functions for Research Design in the Social Sciences1,794
airrAIRR Data Representation Reference Library1,777
parsermdFormal Parser and Related Tools for R Markdown Documents1,714
REddyProcPost Processing of (Half-)Hourly Eddy-Covariance Measurements1,693
rbiomIntegrated Analysis and Visualization of Microbiome Data1,685
ggPMX'ggplot2' Based Tool to Facilitate Diagnostic Plots for NLME Models1,615
rrtableReproducible Research with a Table of R Codes1,598
UCSCXenaToolsDownload and Explore Datasets from UCSC Xena Data Hubs1,534
readMDTableRead Markdown Tables into Tibbles1,529
alphavantagerLightweight Interface to the Alpha Vantage API1,477
deeplrInterface to the 'DeepL' Translation API1,363
ggpicrust2Make 'PICRUSt2' Output Analysis and Visualization Easier1,336
Functions
485
Public exports
103
Lines of R code
5,636
Median complexity
1
Functions (485)
Size and composition

Lines by kind (22,158)

KindLinesShare
R code5,63625%
Tests4,21519%
Documentation3,56016%
Guides5753%
Compiled code8,17237%

Lines by language

LanguageLinesShare
R9,08141%
C5,03123%
Rd3,56016%
C++3,14114%
Markdown6543%
Vignettes5753%
Other1160.5%

Languages are counted from file extensions.

Files
243
R functions
252
Compiled functions
299
Object systems
S3: 30 methods, R6: 5 classes
Deprecated functions
6
Complexity
Median
1
Mean
2.05
Highest
30
Median lines per function
7
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
252
Calls
367
Unconnected
47
Groups
7
Growth (24 releases)
Total lines by release
6,215 on 8 Apr 201522,158 on 19 Feb 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
85.3%
Expressions run by tests
85.1%
Test cases
323
Exports named in tests
75.7%
Coverage by file (26)
Coverage run
Lines counted
2,055
Lines the tests ran
1,733
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
RUnit, testthat
Test cases
323
Snapshot tests
80
Lines of tests
4,215
Test lines per line of code
0.75
Exports documented
100%
Arguments documented
93%
Return value documented
33.3%
Help pages with examples
81.4%
Examples run in checks
100%
Guides (3)
Other documentation
README
Yes, 859 words
Release notes file
Yes
Help pages
43
Lines of documentation
3,560

14 datasets, 0 can be loaded by name

DatasetSizeColumns
challenge2,000 × 2x, y
chickens5 × 4chicken, sex, eggs_laid, motto
epa78
fwf-sample2 × 4John, Smith, WA, X418.Y11.4111
massey-rating
mini-gapminder-africa6 × 5country, year, lifeExp, pop, gdpPercap
mini-gapminder-americas6 × 5country, year, lifeExp, pop, gdpPercap
mini-gapminder-asia6 × 5country, year, lifeExp, pop, gdpPercap
mini-gapminder-europe6 × 5country, year, lifeExp, pop, gdpPercap
mini-gapminder-oceania2 × 5country, year, lifeExp, pop, gdpPercap
mtcars32 × 11mpg, cyl, disp, hp, drat, wt and 5 more
mtcars.csv
whitespace-sample3 × 4first, last, state, phone
date_symbolslength 185

Funded by Posit Software, PBC

Earlier names (4)
  • Jukka Jäylnki
  • Posit, PBC
  • R Core Team
  • RStudio

tidyverse / readr on github.com

Stars
1,042+0.1% up on 30 days ago, the better direction
Forks
297
Open issues
92
Last commit
10 Apr 2026
Activity
Commits
1,944
Open pull requests
15
Tagged releases
20
Latest tagged release
v2.2.0, 19 Feb 2026
In development
Default branch at 2.2.0.9000, ahead of CRAN 2.2.0 (checked 2026-10-25)
Issues closed in
238 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
77%
Created
25 Jul 2013
Licence file reads as
–
Development practices (20)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct, Contributing guide, Issue templates, CODEOWNERS, Support guide
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-04-10
The repository has a site deploy workflow
pkgdown site last built 2026-02-19
CoverageCoverage reporting (Codecov)
Reproducibility and dev environmentdata-raw/
CRAN release processcran-comments.md, revdep/
Lint, format, editorLint workflow, Air, VS Code, RStudio project
Git structural.gitattributes

Method, repository practices

Across tidyverse

Tools

ToolFirst seenFound
Claude Code12 Nov 2025Seen in the repository.claude.claude/skillsNamed in .Rbuildignore.claudeCLAUDE.mdNamed in .gitignore.claude
  • Seen in the repository
  • Named in .Rbuildignore
  • Named in .gitignore

Across tidyverse

R releases
  • On CRAN
  • Release
VersionReleasedREvents
2.2.0 current19 Feb 20264.5.2
2.1.614 Nov 20254.5.2
2.1.511 Jan 20244.3.2
2.1.410 Feb 20234.2.2
2.1.31 Oct 20224.2.1
2.1.230 Jan 20224.1.2
2.1.130 Nov 20214.1.2Maintainer: Jennifer Bryan
2.1.011 Nov 20214.1.2
Earlier versions (16)
VersionReleasedREvents
2.0.227 Sep 20214.1.1
2.0.110 Aug 20214.1.1
2.0.020 Jul 20214.1.0Licence: MIT + file LICENSE
1.4.05 Oct 20204.0.2
1.3.121 Dec 20183.5.2
1.3.011 Dec 20183.5.0
1.2.122 Nov 20183.5.0
1.2.022 Nov 20183.5.0
1.1.116 May 20173.4.0
1.1.022 Mar 20173.3.3Maintainer: Jim Hester
1.0.03 Aug 20163.3.1
0.2.222 Oct 20153.2.2
0.2.121 Oct 20153.2.2
0.2.020 Oct 20153.2.2Licence: GPL (>= 2) | file LICENSE
0.1.129 May 20153.2.0Orphaned (no maintainer) 29 May 2015
0.1.09 Apr 20153.1.3

Relicensed from GPL (>= 2) | file LICENSE in version 2.0.0.

Release notes (2.2.0)

This release advances many deprecations.

  • melt_csv(), melt_csv2(), melt_delim(), melt_tsv(), melt_fwf(), melt_table(), melt_table2(), and all melt_*_chunked() variants have been removed from readr. These functions were deprecated in readr 2.0.0 (2021-07-20). See the meltr package (https://github.com/r-lib/meltr).
  • read_table2() has been removed from readr. This function was deprecated in readr 2.0.0 (2021-07-20) in favor of read_table(). Use read_table() instead.
  • read_csv(), read_csv2(), read_tsv(), read_delim(), and read_fwf() now emit a deprecation warning when literal data is passed without wrapping it in I(). For example, usage like read_csv(I("x,y\n1,2")) is preferred over read_csv("x,y\n1,2") (#1611).
  • The quote_escape parameter has been removed from write_delim(), write_csv(), write_csv2(), write_excel_csv(), write_excel_csv2(), write_tsv(), format_delim(), format_csv(), format_csv2(), and format_tsv(). This parameter was deprecated in readr 2.0.0 (2021-07-20) in favor of the escape parameter. Use escape instead.
  • The path parameter has been removed from write_delim(), write_csv(), write_csv2(), write_excel_csv(), write_excel_csv2(), write_tsv(), write_lines(), write_file(), and write_rds(). This parameter was deprecated in readr 1.4.0 (2020-01-31) in favor of the file parameter. Use file instead.
  • The skip_empty_rows argument of fwf_empty() now throws an error if used in edition 2. This argument was deprecated in readr 2.0.0 (2021-07-20).
  • The quoted_na argument now throws an error if used in edition 2 with read_delim(), read_csv(), read_csv2(), or read_tsv(). This usage was first deprecated in readr 2.0.0 (2021-07-20).