ic: User-friendly debug statements

View source: R/ic.R

icR Documentation

User-friendly debug statements

Description

User-friendly debug statements

Usage

ic(x)

Arguments

x

An expression, or nothing

Value

If x is an expression, returns the result of evaluating x. If x is missing nothing is returned.

Examples

f <- function(x) x < 0

ic(f(1))

ic(f(-1))

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