cc_debug: Utility function which switches on/off debugging messages and...

View source: R/core.R

cc_debugR Documentation

Utility function which switches on/off debugging messages and returns the current status of debugging

Description

Utility function which switches on/off debugging messages and returns the current status of debugging

Usage

cc_debug(value = NULL)

Arguments

value

Boolean (T/F or TRUE/FALSE)

Value

TRUE if debugging is on

Examples

#switch debugging on
cc_debug(TRUE)

#log something if debugging is on
if(cc_debug()) {
  print("debugging is on")
}


rcfgroup/clinconcept documentation built on Nov. 12, 2022, 2:40 a.m.