combinat::warnDeprecated – issue of warnings when deprecated features are used
combinat::warnDeprecated controls whether deprecated functions issue warnings.
Calls:
combinat::warnDeprecated()
combinat::warnDeprecated(mode)
Parameters:
mode: |
Return Value:
the (former) setting of the switch
Details:
The combinat library in MuPAD 2.5 is a major rewrite compared to MuPAD 2.0. Several functions or features known from earlier versions are considered deprecated and only forward calls to the corresponding new functions. After combinat::warnDeprecated(TRUE) is invoked, each such call will issue a warning.
combinat::warnDeprecated(TRUE) turns on those warnings, combinat::warnDeprecated(FALSE) switches them off, and combinat::warnDeprecated() returns the current setting.
The warnings are turned on by default when the MuPAD-Combinat package is explicitly loaded by the user and off otherwise.