debug_opt: Debugging options

View source: R/utils-misc.R

debug_optR Documentation

Debugging options

Description

A wrapper for debugging options.

Usage

debug_opt(
  opt = c("shallow", "deep", "nrow", "row", "aggregate", "geo"),
  val = NULL
)

Arguments

opt

Debug options

val

Value options

Details

Options available:

  • "shallow" : Show the executed funcitons in the process flow

  • "deep" : Show deeper including helper functions in the process flow

  • "nrow" : For orgdata.debug.nrow. Default value is 20 if val argument is missing

  • "row" : For orgdata.debug.rows. Default value is 1:50 if val argument is missing

  • "aggregate" : Activating orgdata.debug.aggregate

  • "geo" : Activating orgdata.debug.geo

Examples

## Not run: 
debug_opt("geo")
debug_opt("nrow", 30)

## End(Not run)

helseprofil/orgdata documentation built on Feb. 3, 2025, 4:55 p.m.