Skip to content

r4pde

0.2.2Package record

Tools for Quantitative Plant Disease Epidemiology

0packages depend
3.5Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Tools for quantitative plant disease epidemiology, including functional analysis of disease progress curves, spatial epidemiology, disease quantification, and weather-driven epidemic analysis. The package also serves as an educational resource and companion to the book "R for Plant Disease Epidemiology" (R4PDE). Several functions are based on classical and contemporary methods, including those discussed in Laurence V. Madden, Gareth Hughes, and Frank van den Bosch (2007) doi:10.1094/9780890545058.

Changes in 0.2.2

New functions

  • Added functional_rate(): Estimates instantaneous rates of plant disease progress (\eqn{S'(t) = dS(t)/dt}) and associated uncertainty from epidemic trajectories fitted by functional_curves(). Supports response and link scale derivatives via GAM linear predictor matrix differences, handles boundary conditions without extrapolation, accounts for zero-epidemic curves and negative rates, and computes key rate phenotypes (\eqn{r_{max}}, \eqn{t_{r_{max}}}, growth duration, cumulative positive growth, and growth windows). Includes S3 methods: print(), summary(), plot(), and augment().

Bug fixes and improvements

  • functional_curves(): Fixed smooth term label inspection during prediction so that .unit experimental unit and block random effects are correctly identified and supplied to predict.gam().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.6 min · r-oldrel-windows-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.2.2
READMEYes · 127 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.2Citation fileNoWebsiteYes · pkgdown
Help pages
75
Examples that run
50%9 run in a plain check (1 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran) · 8 never run
Exported functions with examples
38%
Documented parameters
100%
Return-value docs
85%
Help pages citing references
4%

Downloads

3.5K
CRAN downloads in the past year
Rank #7,097 · ~9/day · ~288/mo
Daily download trend is not available in this view yet.
48730 days
1.2K90 days
3.5K1 year
Compare downloads with other packages →
Also on77 r2u

Repository

7Stars
1Forks
0Open issues
0Open PRs
1Releases
127Commits
2Commit identities
botanical-epidemiologydata-analysisdata-analysis-repidemicsrrlangrstats
127 commits · Last activity 2026-10-13 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
132
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-05-02 · 42026-07-07 · 7
PracticesBeta

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

Checks run against github.com/emdelponte/r4pde on 2026-10-11.

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-09-29

pkgdown site last built 2026-09-07

CRAN release process (1)
CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)

Installing r4pde adds 87 packages (50 with compiled code, 69 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, igraph 4.8 MB.

Depends (1)
R >= 4.1.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 (2025)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.2Latest
    record
    2026-09-07 · current release · diff ↗ ·
    added 30 exports
    augment, augment_functional_pca, augment_functional_rate, autoplot.r4pde_functional_pca, diagnose_curves, functional_contrast, functional_curves, functional_distances, functional_instability, functional_pca, functional_pca_clusters, functional_rate, functional_resistance, functional_summary, functional_suppression_profiles, get_brdwgd, get_era5, get_fpca_eigenfunctions, get_fpca_scores, get_fpca_variance, plot_curves, plot_dendrogram, plot_diagnostics, plot_dsp, plot_dsp_rank_heatmap, plot_functional_instability, rank_dsp, reconstruct_curves, simulate_dsp_data, suggest_k
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    record
    2025-07-02
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-07-02
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
29 KB / 10 files
Download size
510 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("r4pde")
Del Ponte, E. (2026). r4pde: Tools for Quantitative Plant Disease Epidemiology (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.r4pde

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

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