uninject_tracer {typetracer} | R Documentation |
Remove parameter tracer from one function
Description
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)
# Traces may also be removed:
clear_traces ()
[Package typetracer version 0.2.2 Index]