powered by
ic()
These functions enable or disable the ic() function. While disabled ic() will do nothing except evaluate and return its input.
ic_enable()ic_disable()
ic_disable()
Returns the old value of the option, invisibly.
ic_enable(): Enable ic().
ic_enable()
ic_disable(): Disable ic().
These are just convenience wrappers for options(icecream.enabled = TRUE/FALSE) used to align the API with the Python version.
options(icecream.enabled = TRUE/FALSE)