Sets debugging flag to output debugging info to the console.

set_debug(dbg = NULL)

Arguments

dbg

Logical debugging flag (`TRUE` or `FALSE`).

Value

The previous value of the debugging flag.

Examples

set_debug(TRUE)
#> [1] FALSE