Skip to content

textreuse

1.0.2Package record

Detect Text Reuse and Document Similarity

0packages dependsuggested by 1
10.6Kdownloads / year
89.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.2
  • Updated locality-sensitive hashing helpers for current dplyr and tidyselect, 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

CRAN checks
13OK
Slowest check: 4.9 min · r-release-macos-arm64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.0.2
READMEYes · 1,036 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.0.2Citation fileNoWebsiteYes · pkgdown
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

10.6K
CRAN downloads in the past year
Rank #4,860 · ~29/day · ~885/mo
Daily download trend is not available in this view yet.
53630 days
1.7K90 days
10.6K1 year
Compare downloads with other packages →
Also on459 r2u5 autocran159 c2d4u

Repository

200Stars
34Forks
0Open issues
0Open PRs
4Releases
346Commits
10Commit identities
rrstatsr-packagepeer-reviewed
346 commits · Last activity 2026-07-25 · -0.5% stars, 30d
Responsiveness
How these are sampled
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

2025-07-12 · 1982026-09-25 · 200
PracticesBeta

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.

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 (2)
README.Rmdpkgdown
Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.1.1
LinkingTo (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0.1 (2026) · added in 1.0.1

Previously maintained by Lincoln Mullen (0.1.0 to 0.1.5).

Releases (8)

Pick two releases to compare their code metrics.

  • 1.0.2Latest
    record
    2026-07-25 · current release · diff ↗
  • 1.0.1
    record
    2026-05-07 · diff ↗ ·
    added 6 exports
    as_sparse_matrix, count_matches, lsh_add, matching_tokens, token_index, token_index_candidates
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.5
    record
    2020-05-15 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.4
    record
    2016-11-28 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1.3
    record
    2016-03-28 · diff ↗
Show 4 earlier eventsHide 4 earlier events

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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("textreuse")
Li, Y., & Mullen, L. (2026). textreuse: Detect Text Reuse and Document Similarity (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for textreuse version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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