enable-disable: Enable or disable 'ic()'

enable-disableR Documentation

Enable or disable ic()

Description

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

Usage

ic_enable()

ic_disable()

Details

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

Value

Returns the old value of the option, invisibly.

Functions

  • ic_enable(): Enable ic().

  • ic_disable(): Disable ic().


icecream documentation built on Sept. 27, 2023, 5:08 p.m.