These functions enable or disable the ic() function. While disabled ic() will do nothing except evaluate and return its input.

ic_enable()

ic_disable()

Value

Returns the old value of the option, invisibly.

Details

These are just convenience wrappers for options(icecream.enabled = TRUE/FALSE) used to align the API with the Python version.

Functions

  • ic_enable(): Enable ic().

  • ic_disable(): Disable ic().