[R-pkg-devel] advice about errorCondition() function in the Rcmdr package
Fox, John
j|ox @end|ng |rom mcm@@ter@c@
Tue May 14 16:28:17 CEST 2019
Dear list members,
I noticed that there's a name clash between errorCondition() in the Rcmdr package and the new function by the same name in the base package in R 3.6.0. errorCondition() has been in the Rcmdr package for many years and is used extensively -- literally dozens of times. It's exported because it's also used in Rcmdr plug-in packages. The function checks for errors, prints an error message, cleans up after the error, and restarts a dialog.
For the time-being, I've renamed the function as ErrorCondition() (with an uppercase "E") in the development version of the Rcmdr package, to be released in late summer, but have retained and deprecated errorCondition() because I expect that removing it will break most or even all Rcmdr plug-in packages, but I also suspect that masking base::errorCondition() can be problematic.
Can anyone suggest the best way to proceed?
Best,
John
--------------------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: socialsciences.mcmaster.ca/jfox/
More information about the R-package-devel
mailing list