Skip to content

chemodiv

Analysing Chemodiversity of Phytochemical Data

v0.3.1 · Jun 18, 2025 · GPL (>= 3)

Description

Quantify and visualise various measures of chemical diversity and dissimilarity, for phytochemical compounds and other sets of chemical composition data. Importantly, these measures can incorporate biosynthetic and/or structural properties of the chemical compounds, resulting in a more comprehensive quantification of diversity and dissimilarity. For details, see Petrén, Köllner and Junker (2023) <doi:10.1111/nph.18685>.

Downloads

CRAN

365

Last 30 days

11992nd

854

Last 90 days

3.9K

Last year

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

r2u CRAN

1

Last 30 days

27

Last 90 days

156

Last year

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

CRAN Check Status

1 ERROR
12 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 ERROR
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 (1 non-OK)
ERROR r-oldrel-macos-x86_64

package dependencies

Packages required but not available: 'fmcsR', 'ChemmineR'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.

Check History

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

package dependencies

Packages required but not available: 'fmcsR', 'ChemmineR'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'fmcsR', 'ChemmineR'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-devel-linux-x86_64-fedora-clang

package dependencies

Packages required but not available: 'fmcsR', 'ChemmineR'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-devel-linux-x86_64-fedora-gcc

package dependencies

Packages required but not available: 'fmcsR', 'ChemmineR'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-release-macos-x86_64

package dependencies

Packages required but not available: 'fmcsR', 'ChemmineR'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.

Line coverage

Expression

Tests / Examples

Functions

13 11 exported

Complexity

17.5 avg / 54 max

Call network

13 nodes / 8 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

4,993

Files

75

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,709 (54.3%)Tests 448 (9%)Docs 1,339 (26.8%)Vignettes 497 (10%)

API

Exported functions

11

Internal functions

2

Recent export changes

v0.1.2+11 NPCTable, calcBetaDiv, calcDiv +8 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.17

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\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

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2022-06-02

Latest release

2025-06-18

Avg cadence

178 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.2: 4,682 LOCv0.1.3: 4,773 LOCv0.2.0: 4,855 LOCv0.3.0: 4,979 LOCv0.3.1: 4,993 LOC

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

Dependency Network

Dependencies Reverse dependencies jsonlite httr vegan webchem fmcsR ChemmineR hillR ape GUniFrac tidygraph igraph ggraph ggplot2 gridExtra ggdendro +3 more dependencies chemodiv

Version History

6 tracked
new 0.3.1 Mar 10, 2026
updated 0.3.1 ← 0.3.0 diff Jun 17, 2025
updated 0.3.0 ← 0.2.0 diff Aug 16, 2023
updated 0.2.0 ← 0.1.3 diff Jan 11, 2023
updated 0.1.3 ← 0.1.2 diff Aug 25, 2022
new 0.1.2 Jun 1, 2022