Skip to content

dupree

Identify Duplicated R Code in a Project

v0.3.0 · Apr 21, 2020 · MIT + file LICENSE

Description

Identifies code blocks that have a high level of similarity within a set of R files.

Downloads

CRAN

232

Last 30 days

20884th

600

Last 90 days

2.5K

Last year

Trend: +56.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

85

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

8

Last 7 days

11

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Russ Hyde <russ.hyde.data@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Russ",
                      family = "Hyde",
                      role = c("aut", "cre"),
                      email = "russ.hyde.data@gmail.com"),
               person(given = c("University", "of"),
                      family = "Glasgow",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Russ Hyde <russ.hyde.data@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Russ",
                      family = "Hyde",
                      role = c("aut", "cre"),
                      email = "russ.hyde.data@gmail.com"),
               person(given = c("University", "of"),
                      family = "Glasgow",
                      role = "aut"))
as necessary.

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Russ Hyde <russ.hyde.data@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Russ",
                      family = "Hyde",
                      role = c("aut", "cre"),
                      email = "russ.hyde.data@gmail.com"),
               person(given = c("University", "of"),
                      family = "Glasgow",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Russ Hyde <russ.hyde.data@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Russ",
                      family = "Hyde",
                      role = c("aut", "cre"),
                      email = "russ.hyde.data@gmail.com"),
               person(given = c("University", "of"),
                      family = "Glasgow",
                      role = "aut"))
as necessary.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code

Structure

Lines of code

1,797

Files

45

Compiled share

0%

Has compiled src

No

Language breakdown

R 703 (39.1%)Tests 871 (48.5%)Docs 223 (12.4%)

API

Exported functions

4

Internal functions

21

Recent export changes

v0.3.0+1 as_tibble
v0.2.0+3 dupree, dupree_dir, dupree_package

Testing & CI

Has tests

Yes

Test-to-code ratio

1.24

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

25%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

25%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2019-11-10

Latest release

2020-04-21

Avg cadence

163 days

Cold removal rate

Dep drift

0

LOC over versions

v0.2.0: 1,210 LOCv0.3.0: 1,797 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies dplyr purrr tibble magrittr stringdist (>= 0.9.5.5) lintr rlang dupree

Version History

3 tracked
new 0.3.0 Mar 10, 2026
updated 0.3.0 ← 0.2.0 diff Apr 20, 2020
new 0.2.0 Nov 9, 2019