ic_peek {icecream} | R Documentation |
Peek at value of expression
Description
This function is a proxy for calling peeking function.
Usage
ic_peek(
value,
peeking_function = getOption("icecream.peeking.function"),
max_lines = getOption("icecream.max.lines")
)
Arguments
value |
The result of evaluating an expression inside the |
peeking_function |
The function used to peek at the value. Default value is set by the "icecream.peeking.function" option. |
max_lines |
Maximum number of lines printed. Default value is set by the "icecream.max.lines" option. |
Details
Default value of icecream.peeking.function
is ic_autopeek
. Suggested possible
alternatives are:
-
utils::str
-
print
-
head
-
summary
-
tibble::glimpse
Value
A string to be printed.
See Also
ic_autopeek()
utils::str()
base::print()
utils::head()
base::summary()
tibble::glimpse()
[Package icecream version 0.2.2 Index]