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