mcmodule 1.1.1
CRAN release: 2025-11-25
New features
eval_module()gainskeysandoverwrite_keysarguments to add keys that aren’t indata_keysor replace existing keys (#23).Core functions (
eval_module(),trial_totals(),dim_match(),at_least_one(),mc_match(),create_mcnodes(),get_node_list()) now support mcnodes with multiple data names, with clear messages indicating defaults (#19).
Minor improvements and bug fixes
keys_match()now returns early when keys already match, improving performance and fixing ocasional bugs #28.create_mcnodes()andeval_module()provide clearer error messages for invalid or missing data (#18).mc_match()andmc_match_data()include improved scenario baseline checks and error messages.
mcmodule 1.1.0
CRAN release: 2025-10-22
Re-submission to CRAN: Removed unexported function examples.
Bug Fixes: Fixed missing “agg_suffix” handling, improved dimension matching for aggregated nodes, resolved prefix issues in combined probability nodes.
Feature Enhancements: Added “match_keys” parameter to
eval_module()for flexible data-mcnode matching, implemented multiple “prev_mcmodule” data names support ineval_module(), and improved R function handling within mcmodule expressions. Enhancedtrial_totals()to support “agg_suffix” skipping, improved agg_keys combination withat_least_one(), and added NA removal in key columnsDocumentation: Updated documentation and improved error messages for missing prev_nodes and mc_keys handling
Testing: Added tests for totals custom names and various dimension matching scenarios
