Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

Deprecated: Marking Objects as Deprecated

DeprecatedR Documentation

Marking Objects as Deprecated

Description

When an object is about to be removed fromR it is first deprecated andshould include a call to.Deprecated.

Usage

.Deprecated(new, package=NULL, msg,            old = as.character(sys.call(sys.parent()))[1L])

Arguments

new

character string: A suggestion for a replacement function.

package

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

msg

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

old

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

Details

.Deprecated("<new name>") is called from deprecatedfunctions. The original help page for these functions is oftenavailable athelp("oldName-deprecated") (note the quotes).Functions should be listed inhelp("pkg-deprecated") for anappropriatepkg, includingbase.

.Deprecated signals a warning of classdeprecatedWarningwith fieldsold,new, andpackage.

See Also

Defunct

base-deprecated and so on which list the deprecated functionsin the packages.


What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2026 Movatter.jp