Description Usage Arguments Details Examples
Emulates the behavior of base::trace
.
1 |
.tracer |
either a function or an unevaluated expression. The function will be called or the expression will be evaluated either at the beginning of the call, or before those steps in the call specified by the argument at. |
.exit |
either a function or an unevaluated expression. The function will be called or the expression will be evaluated on exiting the function. |
.at |
optional numeric vector or list. If supplied, |
.edit |
For complicated tracing, such as tracing within a loop inside
the function, you will need to insert the desired calls by editing the body
of the function. If so, supply the edit argument either as TRUE, or as the
name of the editor you want to use. Then |
It's not a wrapper around base::trace
, instead it modifies the body of the
input function. If the input function is an S3 generic the effect of
the tracing can be overwritten by the argument values, better in this case
to use the relevant method as a function input.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.