Skip to content

Clarify function masking for rpert() in create_mcnodes() when other packages with random distribuions are loaded #45

@NataliaCiria

Description

@NataliaCiria

When create_mcnodes() is used with an expression that calls msctoc(), and the freedom package is loaded, the function rpert() is masked. If the mctable indicates using "rpert" as mcfunc, freedom::rpert() will be called instead of mc2d::rpert().

It may be helpful to issue a warning when freedom is attached, indicating that this can be avoided by explicitly using mc2d::rpert() in the mctable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions