Skip to content

EcoDiet

Estimating a Diet Matrix from Biotracer and Stomach Content Data

v2.0.1 · Mar 25, 2024 · GPL (>= 2)

Description

Biotracers and stomach content analyses are combined in a Bayesian hierarchical model to estimate a probabilistic topology matrix (all trophic link probabilities) and a diet matrix (all diet proportions). The package relies on the JAGS software and the 'jagsUI' package to run a Markov chain Monte Carlo approximation of the different variables.

Downloads

CRAN

345

Last 30 days

12811th

748

Last 90 days

3K

Last year

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

r2u CRAN

0

Last 30 days

24

Last 90 days

114

Last year

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

autoCRAN

0

Last 7 days

8

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘ggmcmc’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

3,101

Files

58

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,698 (54.8%)Docs 675 (21.8%)Vignettes 728 (23.5%)

API

Exported functions

7

Internal functions

12

Recent export changes

v2.0.0+1 diagnose_model
v1.0.0+6 plot_data, plot_prior, plot_results +3 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

57.1%

\dontrun example ratio

50%

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

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5

System requirements

1

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2020-03-05

Latest release

2024-03-25

Avg cadence

444 days

Cold removal rate

Dep drift

7

LOC over versions

v1.0.0: 2,741 LOCv1.0.1: 2,741 LOCv2.0.0: 3,096 LOCv2.0.1: 3,101 LOC

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

Dependency Network

Dependencies Reverse dependencies ggplot2 coda utils (>= 3.6) jagsUI ggmcmc EcoDiet

Version History

5 tracked
new 2.0.1 Mar 10, 2026
updated 2.0.1 ← 2.0.0 diff Mar 24, 2024
updated 2.0.0 ← 1.0.1 diff Jan 6, 2023
updated 1.0.1 ← 1.0.0 diff Oct 5, 2022
new 1.0.0 Mar 4, 2020