poems
1.4.0Pattern-Oriented Ensemble Modeling System
Overview
A framework of interoperable R6 classes (Chang, 2020, https://CRAN.R-project.org/package=R6) for building ensembles of viable models via the pattern-oriented modeling (POM) approach (Grimm et al.,2005, doi:10.1126/science.1116681). The package includes classes for encapsulating and generating model parameters, and managing the POM workflow. The workflow includes: model setup; generating model parameters via Latin hyper-cube sampling (Iman & Conover, 1980, doi:10.1080/03610928008827996); running multiple sampled model simulations; collating summary results; and validating and selecting an ensemble of models that best match known patterns. By default, model validation and selection utilizes an approximate Bayesian computation (ABC) approach (Beaumont et al., 2002, doi:10.1093/genetics/162.4.2025), although alternative user-defined functionality could be employed. The package includes a spatially explicit demographic population model simulation engine, which incorporates default functionality for density dependence, correlated environmental stochasticity, stage-based transitions, and distance-based dispersal. The user may customize the simulator by defining functionality for translocations, harvesting, mortality, and other processes, as well as defining the sequence order for the simulator processes. The framework could also be adapted for use with other model simulators by utilizing its extendable (inheritable) base classes.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-2511 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 25%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/globalecologylab/poems on 2026-07-19.
Show all practices
Dependencies
Code & Tests
- Cyclomatic complexity
- 29.0 median / 82 max
- Test cases
- 142 / 0.46 per code line
Test coverage
Line coverage
89%
Expression
87.1%
Tests / Examples
88.5% / 47% ex
Functions
7 7 exported
Complexity
42 avg / 82 max
Call network
7 nodes / 6 edges
Call graph
Open call graph →Lowest coverage
7 functions| Function | Cyclo | Coverage |
|---|---|---|
| population_simulator exp | 82 | 86% |
| population_dispersal exp | 79 | 86% |
| population_density exp | 29 | 92% |
| population_env_stoch exp | 10 | 94% |
| population_transformation exp | 12 | 94% |
| population_results exp | 68 | 99% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| tasmania_ibra_data | data.frame | 9 × 4 | – |
| thylacine_bounty_record | data.frame | 22 × 11 | – |
| thylacine_example_metrics | data.frame | 20,000 × 4 | – |
| thylacine_example_metrics_rerun | data.frame | 2,000 × 4 | – |
People & History
8 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.4.0Latest
- 1.3.32025-05-07 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.3.22025-02-24 · diff ↗
- 1.3.12024-09-19 · diff ↗
- unarchivedReturned to CRAN2024-09-19
- RR 4.4.0 released · 2024-04-24
- archivedRemoved from CRAN2023-12-20issues were not corrected on re-submission
- 1.1.02023-10-07 · diff ↗
- unarchivedReturned to CRAN2023-10-07
- archivedRemoved from CRAN2023-07-07issues were not corrected in time
- RR 4.3.0 released · 2023-04-21
- 1.0.42022-09-30 · diff ↗
- unarchivedReturned to CRAN2022-09-30
- archivedRemoved from CRAN2022-09-10email to the maintainer is undeliverable
Show 5 earlier events
- RR 4.2.0 released · 2022-04-22
- 1.0.22022-01-17 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.12021-03-29
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-29
- Total releases
- 8 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 711 KB / 10 files
- Download size
- 4.2 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet