Skip to content

densitr

Analysing Density Profiles from Resistance Drilling of Trees

v0.2 · Mar 22, 2022 · GPL-3

Description

Provides various tools for analysing density profiles obtained by resistance drilling. It can load individual or multiple files and trim the starting and ending part of each density profile. Tools are also provided to trim profiles manually, to remove the trend from measurements using several methods, to plot the profiles and to detect tree rings automatically. Written with a focus on forestry use of resistance drilling in standing trees.

Downloads

CRAN

265

Last 30 days

18420th

723

Last 90 days

2.8K

Last year

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

r2u CRAN

0

Last 30 days

27

Last 90 days

106

Last year

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

autoCRAN

0

Last 7 days

17

Last 30 days

0

All-time

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

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

3,030

Files

73

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,623 (53.6%)Tests 89 (2.9%)Docs 989 (32.6%)Vignettes 329 (10.9%)

API

Exported functions

22

Internal functions

12

Recent export changes

v0.2+1 trim_manually
v0.1.0+21 combine_data, combine_footers, correct_failures +18 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.05

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

77.3%

\dontrun example ratio

31.8%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

50%

Unsafe pattern score

0

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2020-04-07

Latest release

2022-03-22

Avg cadence

714 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 2,703 LOCv0.2: 3,030 LOC

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

Dependency Network

Dependencies Reverse dependencies changepoint densitr

Version History

3 tracked
new 0.2 Mar 10, 2026
updated 0.2 ← 0.1.0 diff Mar 21, 2022
new 0.1.0 Apr 6, 2020