Skip to content

ethnobotanyR

0.3.0Package record

Ethnobotanical Analysis, Decision-Framing, and TEK Modeling

0packages depend
4.8Kdownloads / year
27.5%test coverage
13/13flavors OK

Overview

About

Tools for quantifying Traditional Ecological Knowledge (TEK), modeling TEK in decision frameworks, and designing structured decision-framing exercises in conservation and development contexts. The package implements quantitative ethnobotany indices (Use Value, Relative Frequency of Citation, etc.) but positions them within a larger framework of Bayesian modeling and participatory decision analysis. Includes critical assessment of indices' limitations and case studies of participatory workshops.

Changes in 0.3.0

New models, data and tests; fixes to ethno_bayes_consensus() and ethno_boot().

Breaking change

  • ethno_bayes_consensus(): responses must be whole numbers from 0 to answers - 1 (0/1 for binary data) and result rows are labelled 0 and 1. Earlier results were wrong because 0 responses were ignored. Competence (prior_for_answers) is required.

New functions and data

  • ethno_beta(): Beta-binomial probability of use per species and use. Default for small samples and rare uses.
  • ethno_saturation(): informant saturation curve.
  • ethno_consensus(): consensus with competence estimated from the data (EM).
  • homegardens: 102 homegardens in southwestern Uganda, 225 species, 14 uses, 3,961 use reports, as analyzed in Whitney et al. (2018). One informant per garden. Companion tables homegardens_info (garden covariates) and homegardens_species (life form, family, native).
  • Tests (testthat).

Bug fixes

  • ethno_bayes_consensus(): corrected the likelihood for more than two answers.
  • ethno_boot(): n2 defaults to the number of observations. New use_weights argument. Warns when all observations are identical (zero-width interval).
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
  • Vignettes no longer rewrite .bib files at build time.
  • honest_ethnobotany: fixed swapped lower/upper labels.
  • TEK modeling vignette: network chunk runs and compares decisions. Weighted pooling uses effective sample size. Removed arbitrary pseudo-count mapping.

Vignettes

  • Modeling and TEK vignettes use homegardens. The TEK vignette adds a network learned from the survey.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.2 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 516 wordsVignettesYes · 7 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
23
Examples that run
100%20 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
87%

Downloads

4.8K
CRAN downloads in the past year
Rank #5,735 · ~13/day · ~399/mo
Daily download trend is not available in this view yet.
48630 days
1.5K90 days
4.8K1 year
Compare downloads with other packages →
Also on98 r2u5 autocran

Repository

11Stars
21Forks
22Open issues
0Open PRs
6Releases
399Commits
3Commit identities
ethnobotanyindicesquantitative-methods
399 commits · Last activity 2026-10-06 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
462
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-06-21 · 92026-07-07 · 11
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/cwwhitney/ethnobotanyr on 2026-10-22.

Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-10-06
    Commits: at least 25 crediting it in the message
Models named in its commits
  • Claude Sonnet 5.525 commits · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)

Installing ethnobotanyR adds 40 packages (20 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, ggalluvial 2.7 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2019)
Releases (11)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-10-16 · current release · diff ↗ ·
    added 3 exports
    ethno_beta, ethno_consensus, ethno_saturation
    ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-16 07:45 UTC, so it stayed less than the time between readings.
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    record
    2026-02-25 · diff ↗
  • 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
  • 0.1.9
    record
    2022-12-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.8
    record
    2021-01-06 · diff ↗ ·
    added 1 export
    ethno_alluvial
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.7
    record
    2020-01-30 · diff ↗ ·
    added 2 exports
    ethno_bayes_consensus, ethno_boot
  • 0.1.6
    record
    2019-10-07 · diff ↗ ·
    removed 2 exports
    ethnoChordUser, ethnobotanyChord
  • 0.1.5
    record
    2019-08-06 · diff ↗ ·
    added 3 exports
    CVe, ethnobotanyChord, simple_UVs
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.4
    record
    2019-02-13 · diff ↗ ·
    added 2 exports
    FLs, Radial_plot
Show 4 earlier eventsHide 4 earlier events
Across CRAN, the median accepted release of the past year spent 26 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2019-01-08
Total releases
11 / 7 yrs
License
GPL
Minimum R
≥ 3.5.0
Bundled data
13 KB / 4 files
Download size
3.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ethnobotanyR")
Whitney, C. (2026). ethnobotanyR: Ethnobotanical Analysis, Decision-Framing, and TEK Modeling (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.ethnobotanyR

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 ethnobotanyR version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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