R: Marking Objects as Defunct (original) (raw)
Defunct {base} | R Documentation |
---|
Description
When a function is removed from R it should be replaced by a function which calls .Defunct
.
Usage
.Defunct(new, package = NULL, msg)
Arguments
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. |
Details
.Defunct
is called from defunct functions. These should be listed in help("pkg-defunct")
for an appropriate pkg, including base. The alias of the defunct function is added to the same file.
.Defunct
signals an error of class "defunctError"
with fields old
, new
, and package
.
See Also
[Deprecated](../../base/help/Deprecated.html)
.
help("[base-defunct](../../base/help/base-defunct.html)")
and so on which list the defunct functions in the packages.
[Package _base_ version 4.6.0 Index]