When a function is removed from R it should be replaced by a function
which calls .Defunct
.
.Defunct(new, package = NULL, msg)
character string: A suggestion for a replacement function.
character string: The package to be used when suggesting where the defunct function might be listed.
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.