Saat sebuah objek akan dihapus dari R, objek tersebut tidak digunakan lagi dan harus menyertakan panggilan ke .Deprecated.
.Deprecated(new, package=NULL, msg,
old = as.character(sys.call(sys.parent()))[1L])
| Parameter | Deskripsi |
|---|---|
new |
character string: A suggestion for a replacement function. |
package |
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. |