Description Usage Arguments Value See Also Examples
Deprecated functions
1 |
... |
Additional arguments. |
.Deprecated
.
Deprecated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | a <- function(...) {
.Deprecated("b")
b(...)
}
b <- function(x) {
x + 1L
}
withCallingHandlers(
expr = a(1L),
warning = function(w) {
print(w)
invokeRestart("muffleWarning")
}
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.