Description Usage Arguments Examples
Find an argument
1 | arg_calling(ex, ..., n = 1L, message = "call to function")
|
ex |
An call to be checked |
... |
unquoted function names |
n |
Look for the nth passing argument |
message |
character string message on failure |
1 2 3 4 5 6 7 8 | ex <- for_checkr(quote(15 * sin(53 * pi / 180)))
ex2 <- for_checkr(quote(yy <- sin(3))) # at the top level
line_calling(ex, sin)
# look only in arguments: the top-level function doesn't count
arg_calling(ex, sin)
arg_calling(ex2, sin)
# But line_calling() will find it at the top level.
line_calling(ex2, sin)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.