Detect Text Reuse and Document Similarity
Overview
Tools for measuring similarity among documents and detecting passages which have been reused. Implements shingled n-gram, skip n-gram, and other tokenizers; similarity/dissimilarity functions; pairwise comparisons; minhash and locality sensitive hashing algorithms; and a version of the Smith-Waterman local alignment algorithm suitable for natural language.
- Updated locality-sensitive hashing helpers for current
dplyrandtidyselect, eliminating deprecated-selection and expected many-to-many join warnings. - Replaced inactive Travis CI and AppVeyor configurations with GitHub Actions checks and coverage reporting.
- Updated external documentation links to their current secure locations.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK12 OK2026-04-25
Show 5 earlier changesHide 5 earlier changes
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-04-10
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-09
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 26 (1 internal)includes a package overview page
- Examples that run
- 100%18 run in a plain check
- Exported functions with examples
- 72%
- Documented parameters
- 100%
- Return-value docs
- 80%
- Help pages citing references
- 23%
Downloads
Repository
- PRs merged (all time)
- 79%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ropensci/textreuse on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Installing textreuse adds 26 packages (14 with compiled code, 34 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Previously maintained by Lincoln Mullen (0.1.0 to 0.1.5).
Pick two releases to compare their code metrics.
- 1.0.2Latest
- 1.0.12026-05-07 · diff ↗ ·
added 6 exports
as_sparse_matrix, count_matches, lsh_add, matching_tokens, token_index, token_index_candidates - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.52020-05-15 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.1.42016-11-28 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.1.32016-03-28 · diff ↗
Package metadata
- First published
- 2015-10-31
- Total releases
- 8 / 11 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.1.1
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("textreuse")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.