Skip to content

stringi

1.8.9Package record

Fast and Portable Character String Processing Facilities

430packages dependsuggested by 108
14.4Mdownloads / year
–test coverage
13/13flavors OK

Overview

About

A collection of character string/text/natural language processing tools for pattern searching (e.g., with 'Java'-like regular expressions or the 'Unicode' collation algorithm), random string generation, case mapping, string transliteration, concatenation, sorting, padding, wrapping, Unicode normalisation, date-time formatting and parsing, and many more. They are fast, consistent, convenient, and - thanks to 'ICU' (International Components for Unicode) - portable across all locales and platforms. Documentation about 'stringi' is provided via its website at https://stringi.gagolewski.com/ and the paper by Gagolewski (2022, doi:10.18637/jss.v103.i02).

Install

Health

CRAN checks
13OK
Slowest check: 21.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-25
  • ERROR12 OK, 1 ERROR2026-09-18
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.8.9
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structuredCitation fileYes · cites a publicationWebsiteYes
Cites a JSS article
Help pages
102includes a package overview page
Examples that run
96%70 run in a plain check · 2 never run · 1 hold no code
Exported functions with examples
79%
Documented parameters
91%
Return-value docs
100%
Help pages citing references
32%

Downloads

14.4M
CRAN downloads in the past year
Rank #38 · ~39.4K/day · ~1.2M/mo
Daily download trend is not available in this view yet.
1.1M30 days
3.5M90 days
14.4M1 year
Compare downloads with other packages →
Also on251.1K r2u167 autocran2.1M conda_forge23.2K c2d4u

Repository

320Stars
48Forks
49Open issues
0Open PRs
40Releases
1,704Commits
17Commit identities
stringiicuicu4crregexregexpstring-manipulationunicode
1,704 commits · Last activity 2026-08-18 · +0.6% stars, 30d · Default branch at 1.8.9.9001, ahead of CRAN 1.8.9 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
66%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-07-11 · 3182026-10-16 · 320
PracticesBeta

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

Checks run against github.com/gagolews/stringi on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (1)

GitHub Pages site last deployed 2026-08-18

Reproducibility and dev environment (1)
Makefile
Show all practicesHide 1 practice
Research and citation (1)
CITATION.cff
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-08-01
    Commits: at least 1 crediting it in the message
Models named in its commits
  • Claude Opus 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing stringi adds no packages beyond those that come with R.

Depends (1)
R >= 3.4
Imports (3)
toolsutilsstats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

People & History

People (3)
Author, Maintainer since 0.1-25 (2014), Copyright holder
Contributor · added in 1.8.7
ICU4C source code, Unicode Character Database
Contributor
Listed in earlier versions (5)
Show 5 peopleHide 5 people
IBM
no longer listed · 0.1-25 to 1.7.4
Inc.
no longer listed · 0.1-25 to 1.8.4
Unicode
no longer listed · 0.1-25 to 1.8.4
other contributors
no longer listed · 0.1-25 to 1.5.3
others
no longer listed · 1.6.1 to 1.8.4
Releases (40)

Pick two releases to compare their code metrics.

Show 38 earlier eventsHide 38 earlier events
  • 1.7.3
    record
    2021-07-16 · diff ↗
  • 1.7.2
    record
    2021-07-14 · diff ↗ ·
    added 4 exports
    stri_printf, stri_replace_rstr, stri_sprintf, stri_string_format
  • R
    R 4.1.0 released · 2021-05-18
  • 1.6.2
    record
    2021-05-17 · diff ↗
  • 1.6.1
    record
    2021-05-10 · diff ↗ ·
    added 2 exports
    stri_rank, stri_trans_casefold
  • 1.5.3
    record
    2020-09-09 · diff ↗ ·
    added 6 exports
    %s$%, %s*%, %stri$%, %stri*%, stri_coll, stri_sort_key
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4.6
    record
    2020-02-17 · diff ↗
  • 1.4.5
    record
    2020-01-11 · diff ↗
  • 1.4.4
    record
    2020-01-09 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.4.3
    record
    2019-03-13 · diff ↗ ·
    added 9 exports
    stri_sub_all<-, stri_omit_empty, stri_omit_empty_na, stri_omit_na, stri_remove_empty_na, stri_remove_na, stri_sub_all, stri_sub_all_replace, stri_sub_replace_all
  • 1.3.1
    record
    2019-02-13 · diff ↗ ·
    added 1 export
    stri_sub_replace
  • 1.2.4
    record
    2018-07-20 · diff ↗
  • 1.2.3
    record
    2018-06-12 · diff ↗
  • 1.2.2
    record
    2018-05-02 · diff ↗ ·
    added 2 exports
    stri_na2empty, stri_remove_empty
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.7
    record
    2018-03-12 · diff ↗
  • 1.1.6
    record
    2017-11-17 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.5
    record
    2017-04-07 · diff ↗
  • 1.1.3
    record
    2017-03-21 · diff ↗ ·
    removed 2 exports
    stri_install_check, stri_install_icudt
  • 1.1.2
    record
    2016-10-01 · diff ↗
  • 1.1.1
    record
    2016-05-27 · diff ↗ ·
    added 8 exports
    stri_subset<-, stri_subset_charclass<-, stri_subset_coll<-, stri_subset_fixed<-, stri_subset_regex<-, stri_c_list, stri_join_list, stri_paste_list
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0-1
    record
    2015-10-22 · diff ↗
  • 0.5-5
    record
    2015-06-29 · diff ↗
  • 0.5-4
    record
    2015-06-28 · diff ↗
  • 0.5-2
    record
    2015-06-22 · diff ↗ ·
    added 18 exports
    stri_datetime_add<-, stri_datetime_add, stri_datetime_create, stri_datetime_fields, stri_datetime_format, stri_datetime_fstr, stri_datetime_now, stri_datetime_parse, stri_datetime_symbols, stri_extract_all_boundaries, stri_extract_first_boundaries, stri_extract_last_boundaries, stri_timezone_get, stri_timezone_info, stri_timezone_list, stri_timezone_set, stri_trans_char, stri_width
  • R
    R 3.2.0 released · 2015-04-16
  • 0.4-1
    record
    2014-12-14 · diff ↗ ·
    removed 3 exports
    stri_extract_words, stri_locate_boundaries, stri_locate_words
    added 13 exports
    stri_extract_all_fixed, stri_extract_all_words, stri_extract_first_fixed, stri_extract_first_words, stri_extract_last_fixed, stri_extract_last_words, stri_locate_all_boundaries, stri_locate_all_words, stri_locate_first_boundaries, stri_locate_first_words, stri_locate_last_boundaries, stri_locate_last_words, stri_opts_fixed
  • 0.3-1
    record
    2014-11-06 · diff ↗ ·
    removed 9 exports
    %!=%, %!==%, %+%, %<%, %<=%, %==%, %===%, %>%, %>=%
    added 27 exports
    %s!=%, %s!==%, %s+%, %s<%, %s<=%, %s==%, %s===%, %s>%, %s>=%, stri_count_boundaries, stri_count_words, stri_endswith, stri_endswith_charclass, stri_endswith_coll, stri_endswith_fixed, stri_list2matrix, stri_opts_brkiter, stri_rand_lipsum, stri_startswith, stri_startswith_charclass, stri_startswith_coll, stri_startswith_fixed, stri_subset, stri_subset_charclass, stri_subset_coll, stri_subset_fixed, stri_subset_regex
  • 0.2-5
    record
    2014-05-16 · diff ↗
  • 0.2-4
    record
    2014-05-15 · diff ↗
  • 0.2-3
    record
    2014-05-14 · diff ↗ ·
    removed 13 exports
    stri_enc_isnfc, stri_enc_isnfd, stri_enc_isnfkc, stri_enc_isnfkc_casefold, stri_enc_isnfkd, stri_enc_nfc, stri_enc_nfd, stri_enc_nfkc, stri_enc_nfkc_casefold, stri_enc_nfkd, stri_extract_all_fixed, stri_extract_first_fixed, stri_extract_last_fixed
    added 66 exports
    %!=%, %!==%, %<%, %<=%, %==%, %===%, %>%, %>=%, %stri!=%, %stri!==%, %stri+%, %stri<%, %stri<=%, %stri==%, %stri===%, %stri>%, %stri>=%, stri_cmp_eq, stri_cmp_equiv, stri_cmp_ge, stri_cmp_gt, stri_cmp_le, stri_cmp_lt, stri_cmp_neq, stri_cmp_nequiv, stri_count_coll, stri_detect_coll, stri_duplicated, stri_duplicated_any, stri_enc_mark and 36 more
  • R
    R 3.1.0 released · 2014-04-10
  • 0.1-25
    record
    2014-03-12
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2014-03-12
Total releases
40 / 12 yrs
License
file LICENSE
Minimum R
≥ 3.4
Download size
11 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("stringi")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v103.i02.

The repository also keeps a CITATION.cff.

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 stringi version 1.8.9 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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