Usage

Arguments

character string: The package to be used when suggesting where the
deprecated function might be listed.

msg

character string: A message to be printed, if missing a default
message is used.

old

character string specifying the function (default) or usage
which is being deprecated.

Details

.Deprecated("<new name>") is called from deprecated
functions. The original help page for these functions is often
available at help("oldName-deprecated") (note the quotes).
Functions should be listed in help("pkg-deprecated") for an
appropriate pkg, including base.

.Deprecated signals a warning of class deprecatedWarning
with fields old, new, and package.