Skip to contents

This function removes traces previous injected into functions with the inject_tracer function.

Usage

uninject_tracer(f)

Arguments

f

A function (that is, an object of class "function", and not a character string).

Value

Logical value indicating whether or not tracer was able to be removed ("uninjected").

Examples

f <- function (x, y, z, ...) {
    x * x + y * y
}
inject_tracer (f)
val <- f (1:2, 3:4 + 0., a = "blah")
x <- load_traces ()

# Traces should always be "uninjected":
uninject_tracer (f)
#> [1] TRUE
# Traces may also be removed:
clear_traces ()