Examples for 'rlang::call_inspect'


Inspect a call

Aliases: call_inspect

Keywords:

### ** Examples

# When you call it directly, it simply returns what you typed
call_inspect(foo(bar), "" %>% identity())
call_inspect(foo(bar), "" %>% identity())
# Pass `call_inspect` to functionals like `lapply()` or `map()` to
# inspect the calls they create around the supplied function
lapply(1:3, call_inspect)
[[1]]
FUN(X[[i]])

[[2]]
FUN(X[[i]])

[[3]]
FUN(X[[i]])

[Package rlang version 1.1.4 Index]