Skip to contents

These functions are identical to their long-form counterparts suffixed by ggtrace_.

Inspect:

  • inspect_n()

  • inspect_which()

  • inspect_vars()

  • inspect_args()

  • inspect_return()

  • inspect_on_error()

Capture:

  • capture_fn()

  • capture_env()

Highjack:

  • highjack_args()

  • highjack_return()

Usage

inspect_n(x, method, ..., error = FALSE)

inspect_which(x, method, cond, ..., error = FALSE)

inspect_vars(
  x,
  method,
  cond = 1L,
  at = "all",
  vars,
  by_var = TRUE,
  ...,
  error = FALSE
)

inspect_args(x, method, cond = 1L, hoist_dots = TRUE, ..., error = FALSE)

inspect_return(x, method, cond = 1L, ..., error = FALSE)

inspect_on_error(x, method, ...)

capture_fn(x, method, cond = 1L, ...)

capture_env(x, method, cond = 1L, at = -1L, ...)

highjack_args(x, method, cond = 1L, values, ..., draw = TRUE)

highjack_return(
  x,
  method,
  cond = 1L,
  value = quote(returnValue()),
  ...,
  draw = TRUE
)