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().


DominikRafacz/icecream documentation built on July 7, 2022, 11:45 a.m.