Defunct Marking Objects as DefunctWhen a function is removed from R it should be replaced by a function which calls .Defunct.
.Defunct(new, package = NULL, msg)
new | character string: A suggestion for a replacement function. |
package | character string: The package to be used when suggesting where the defunct function might be listed. |
msg | character string: A message to be printed, if missing a default message is used. |
.Defunct is called from defunct functions. Functions should be listed in help("pkg-defunct") for an appropriate pkg, including base (with the alias added to the respective Rd file).
.Defunct signals an error of class defunctError with fields old, new, and package.
base-defunct and so on which list the defunct functions in the packages.
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.