R/peek_frame.R

Defines functions peek_frame.instrumentr_call_stack peek_frame

#' @export
peek_frame <- function(call_stack, position, ...) {
    UseMethod("peek_frame")
}

#' @export
peek_frame.instrumentr_call_stack <- function(call_stack, position, ...) { # nolint
    .Call(C_call_stack_peek_frame, call_stack, position)
}
PRL-PRG/instrumentr documentation built on Feb. 26, 2021, 5:12 p.m.