Skip to content

mcmodule

1.3.1Package record

Modular Monte Carlo Risk Analysis

0packages depend
3.1Kdownloads / year
82.8%test coverage
13/13flavors OK

Overview

About

Framework for building modular Monte Carlo risk analysis models. It extends the capabilities of 'mc2d' to facilitate working with multiple risk pathways, variates and scenarios. It provides tools to organize risk analysis in independent flexible modules, align multivariate mcnodes, automate the creation of mcnodes, visualise model structure, assess convergence, and perform sensitivity analysis. For more details see Ciria (2026) https://nataliaciria.com/mcmodule/.

Changes in 1.3.1

Lifecycle

  • agg_totals() is now deprecated in favour of agg_variates(). agg_totals() remains available for backwards compatibility, but now issues a lifecycle warning.

Bug fixes

  • mc_plot() now draws boxplots above scatter points (#86).
  • get_node_list() now uses node_name instead of param_names when filtering in_nodes (#84).
  • optim_ndvar() no longer produces warnings related to empty mctable handling (#87).
  • mcmodule_converg() tests are now reproducible on CRAN. Tests for non-convergence now set a random seed, because false negatives are expected when using a very limited number of simulations (#87).
Show all changes in 1.3.1Hide the rest of the changes in 1.3.1

Documentation

  • Updated the sensitivity analysis vignette and added references.
  • Updated README installation instructions to recommend pak::pak() instead of devtools::install_github().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-07
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-16
Show 7 earlier changesHide 7 earlier changes
  • ERROR12 OK, 1 ERROR2026-07-15
  • OK13 OK2026-06-21
  • ERROR12 OK, 1 ERROR2026-06-20
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.3.1
READMEYes · 289 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 1.3.1Citation fileYes · software entry onlyWebsiteYes
Help pages
57 (1 internal)
Examples that run
94%32 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
87%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.1K
CRAN downloads in the past year
Rank #11,855 · ~9/day · ~259/mo
Daily download trend is not available in this view yet.
28330 days
92690 days
3.1K1 year
Compare downloads with other packages →
Also on112 r2u1 autocran

Repository

0Stars
1Forks
7Open issues
0Open PRs
5Releases
382Commits
6Commit identities
382 commits · Last activity 2026-10-09 · Default branch at 1.3.1.9000, ahead of CRAN 1.3.1 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
0

Forks over time

2026-06-06 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/nataliaciria/mcmodule on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
pkgdown

GitHub Pages site last deployed 2025-11-25

Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
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.

  • GitHub Copilotfirst seen 2025-12-26
    Pull request: opened by its own account
    Commits: 14 by its own account
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
11 external dependencies (excludes base and recommended)

Installing mcmodule adds 27 packages (13 with compiled code, 19 MB of source tarballs). Heaviest: ggplot2 6.0 MB, mc2d 2.1 MB, isoband 1.5 MB.

Depends (2)
R >= 3.5mc2d
Imports (3)
dplyrstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.1.0 (2025), Copyright holder
Thesis advisor
Thesis advisor
Releases (5)

Pick two releases to compare their code metrics.

  • 1.3.1Latest
    record
    2026-09-02 · current release · diff ↗ ·
    added 1 export
    agg_variates
  • 1.3.0
    record
    2026-05-25 · diff ↗ ·
    added 9 exports
    matrix_to_mcnodes, mc_compare, mcmodule_tornado, mcnode_null_rm, mctable_bounds, mctable_sobol_matrices, optim_ndvar, reset_sample_design, set_sample_design
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0
    record
    2026-03-02 · diff ↗ ·
    added 9 exports
    mc_filter, mc_plot, mcmodule_converg, mcmodule_corr, mcmodule_info, tidy_mcnode, which_mcnode, which_mcnode_inf, which_mcnode_na
  • 1.1.1
    record
    2025-11-25 · diff ↗
  • 1.1.0
    record
    2025-10-22
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-10-22
Total releases
5 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5
Bundled data
166 KB / 8 files
Download size
3.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("mcmodule")

The package provides a citation file, so citation() returns the authors' own entry.

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 mcmodule version 1.3.1 [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