Defunct {base}R Documentation

Marking Objects as Defunct

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.

help("base-defunct") and so on which list the defunct functions in the packages.


[Package base version 4.5.0 Index]