Skip to content

tidyttmoment

0.0.5

Functional Trait Moment Calculation

0packages depend
937downloads / year
82.4%test coverage
13/13checks pass

Overview

About
Maintained by Paul Efren Santos AndradeFirst published 2026-03-231 releasesCRAN page ↗GitHub ↗

Calculates the community four 'moments' (mean, variance, skewness, and kurtosis) of a given trait based on the moments described in Wieczynski et al. (2019) doi:10.1073/pnas.1813723116. These functional metrics are extremely useful in characterizing the distribution of traits in a plant community. It also provides tidyverse-friendly wrappers to seamlessly calculate advanced functional diversity indices (e.g., FDis, Rao's Q) using 'fundiversity' (Grenie et al. 2023 doi:10.1111/ecog.06585) and functional rarity indices using 'funrar' (Grenie et al. 2017 doi:10.1111/ddi.12629). Evaluating these community-weighted moments and diversity metrics allows researchers to evaluate shifts in optimal phenotypes and understand ecological filtering with exactness.

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.38
82.4%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-10
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-24
    5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 324 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
20%

Downloads

937
CRAN downloads in the past year
Rank #22,922 · ~3/day · ~78/mo
Daily download trend is not available in this view yet.
13130 days
50390 days
9371 year
Compare downloads with other packages →
Also on26 r2u4 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-03-28

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/paulesantos/tidyttmoment on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (2)
Issue templatesSupport guide
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 502 (72%)Rd 200 (28%)
Code characteristics
Cyclomatic complexity
2.0 median / 6 max
Test cases
6 / 0.38 per code line

Test coverage

Line coverage

82%

Expression

81.4%

Tests / Examples

82.4% / 53% ex

Functions

13 4 exported

Complexity

2.1 avg / 6 max

Call network

13 nodes / 9 edges

Loading call graph…

Lowest coverage

13 functions
FunctionCycloCoverage
.onLoad20%
show_progress20%
.onAttach367%
tidy_calc_moment exp280%
tidy_to_matrices exp283%
tidy_calc_diversity exp685%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder
Funders (1)
Copyright holder, Funder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.5Latest
    2026-03-23 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-23
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →