ic {icecream}R 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))

[Package icecream version 0.2.2 Index]