Defunct functions
Examples
a <- function(...) {
.Defunct("b")
}
withCallingHandlers(
expr = tryCatch(
expr = a(1L),
error = function(e) {
print(e)
invisible()
}
)
)
#> <defunctError: 'a' is defunct.
#> Use 'b' instead.
#> See help("Defunct")>