untrace_package {toscutil}R Documentation

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)

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.

Value

No return value, called for side effects

See Also

trace_package()

Examples

## Not run: 
local({
    trace_package("graphics", funign = "plot.default")
    on.exit(untrace_package("graphics"), add = TRUE)
    plot(1:10)
})

## End(Not run)

[Package toscutil version 2.8.0 Index]