stringr
1.6.0Simple, Consistent Wrappers for Common String Operations
Overview
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
- ERROR r-release-macos-arm64
- ERROR2026-04-2711 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 93%
- Return-value docs
- 89%
- References docs
- 0%
Downloads
Repository
Repository practices
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/tidyverse/stringr on 2026-07-19.
Show all practices
Dependencies
and 2,466 more packages.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 23 max
- Test cases
- 213 / 0.54 per code line
Test coverage
Line coverage
100%
Expression
99.4%
Tests / Examples
99.7% / – ex
Functions
167 62 exported
Complexity
2.2 avg / 23 max
Call network
167 nodes / 293 edges
Call graph
Open call graph →Lowest coverage
167 functions| Function | Cyclo | Coverage |
|---|---|---|
| str_view_special | 3 | 89% |
| str_pad exp | 2 | 90% |
| str_split_i exp | 5 | 95% |
| boundary exp | 2 | 100% |
| coll exp | 1 | 100% |
| fixed exp | 1 | 100% |
Datasets
People & History
19 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.6.0Latest
- 1.5.22025-09-08 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.5.12023-11-15 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.5.02022-12-02 · diff ↗
- 1.4.12022-08-21 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.4.02019-02-10 · diff ↗
- 1.3.12018-05-10 · diff ↗
- RR 3.5.0 released · 2018-04-23
Show 23 earlier events
- 1.3.02018-02-19 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.2.02017-02-18 · diff ↗
- 1.1.02016-08-19 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.0.02015-04-30 · diff ↗
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 0.6.22012-12-06 · diff ↗
- 0.6.12012-07-25 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 0.62011-12-08 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 0.52011-06-30 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 0.42010-08-24 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 0.32010-02-15 · diff ↗
- 0.22009-11-16 · diff ↗
- 0.1.102009-11-09
- RR 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