enable_caching_in_stat_function: Add debugging to a particular function within a Stat

Description Usage Arguments

Description

Add debugging to a particular function within a Stat

Usage

1
2
enable_caching_in_stat_function(DebugStat, stat_original_name, method,
  reset_cache = FALSE, verbose = FALSE, head_n)

Arguments

DebugStat

the actual Stat

stat_original_name

full name of original stat e.g. 'StatIdentity'. Used for debugging output

method

the method name within this stat to debug

reset_cache

If TRUE then the cache of captured data is reset when this Stat$method() is invoked. Default: FALSE.

verbose

Print data information as the methods execute. Default: FALSE

head_n

Argument to head() when printing data.frames in verbose mode


coolbutuseless/ggdebug documentation built on May 13, 2019, 11:25 a.m.