Skip to contents

Defunct functions

Value

.Defunct.

See also

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")>