Learn R Programming

toscutil (version 2.8.0)

untrace_package: Untraces function calls from a package

Description

Removes tracing from all function calls in a package that were previously traced by trace_package().

Usage

untrace_package(pkg)

Value

No return value, called for side effects

Arguments

pkg

Package name to untrace.

Details

This function reverses the effects of trace_package by removing all tracing from the specified package's functions.

See Also

trace_package()

Examples

Run this code
if (FALSE) {
local({
    trace_package("graphics", funign = "plot.default")
    on.exit(untrace_package("graphics"), add = TRUE)
    plot(1:10)
})
}

Run the code above in your browser using DataLab