Skip to content

stringr

1.6.0

Simple, Consistent Wrappers for Common String Operations

2,535packages depend
15.4Mdownloads / year
99.7%test coverage
12/13checks pass

Overview

About
Maintained by Hadley WickhamFirst published 2009-11-0919 releasesCRAN page ↗GitHub ↗

A consistent, simple and easy to use set of wrappers around the fantastic 'stringi' package. All function and argument names (and positions) are consistent, all functions deal with "NA"'s and zero length vectors in the same way, and the output from one function is easy to feed into the input of another.

Install

Health

CRAN checks
1ERROR12OK
Failing flavors
  • ERROR r-release-macos-arm64
Slowest check: 2.1 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.54
99.7%
Coverage · measured lines
98%
Documentation · exports
7
Dependencies · direct
Check history
  • ERROR2026-04-27
    11 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 · 544 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
93%
Return-value docs
89%
References docs
0%

Downloads

15.4M
CRAN downloads in the past year
Rank #43 · ~42.2K/day · ~1.3M/mo
Daily download trend is not available in this view yet.
1.2M30 days
3.7M90 days
15.4M1 year
Compare downloads with other packages →
Also on188.5K r2u101 autocran1.7M conda_forge314 bioconda3.4K c2d4u

Repository

Repository
666Stars
197Forks
10Open issues
6Open PRs
10Releases
679Commits
86Contributors
rstringsregular-expression
679 commits · Last activity 2025-11-04 · 0% stars, 30d

Stars over time

2026-07-11 · 6662026-08-09 · 666

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/tidyverse/stringr on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (3)
AirVS CodeRStudio project
Coverage (2)
Codecov.covrignore
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (2)
Author, Maintainer, Copyright holder
Copyright holder, Funder · added in 1.5.1
Funders (1)
Copyright holder, Funder · added in 1.5.1
Listed in earlier versions (1)
no longer listed · 1.0.0 to 1.5.0
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.6.0Latest
    2025-11-04 · current release · diff ↗
  • 1.5.2
    2025-09-08 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5.1
    2023-11-15 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.5.0
    2022-12-02 · diff ↗
  • 1.4.1
    2022-08-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.4.0
    2019-02-10 · diff ↗
  • 1.3.1
    2018-05-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 23 earlier events
  • 1.3.0
    2018-02-19 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.0
    2017-02-18 · diff ↗
  • 1.1.0
    2016-08-19 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.0
    2015-04-30 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 0.6.2
    2012-12-06 · diff ↗
  • 0.6.1
    2012-07-25 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.6
    2011-12-08 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.5
    2011-06-30 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 0.4
    2010-08-24 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 0.3
    2010-02-15 · diff ↗
  • 0.2
    2009-11-16 · diff ↗
  • 0.1.10
    2009-11-09
  • R
    R 2.10.0 released · 2009-10-26

Package metadata

First published
2009-11-09
Total releases
19 / 17 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
15 KB / 3 files
Download size
191 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stringr")
Wickham, H., & Posit Software, PBC. (2025). stringr: Simple, Consistent Wrappers for Common String Operations (Version 1.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.stringr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the 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 stringr version 1.6.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy