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.