rlang (version 0.0.0.9000)

call_inspect: Inspect a call.

Description

This function is useful for quick testing and debugging when you manipulate expressions and calls. It lets you check that a function is called with the right arguments. This can be useful in unit tests for instance. Note that this is just a simple wrapper around match.call().

Usage

call_inspect(...)

Arguments

...
Arguments to display in the returned call.

Examples

Run this code
call_inspect(foo(bar), "" %>% identity())
invoke(call_inspect, list(a = mtcars, b = letters))

Run the code above in your browser using DataLab