Description Usage Arguments Details Value See Also Examples
evaluates checkUsage and returns a tidy output
1 | tidycheckUsage(fun, ...)
|
fun |
closure, function to check |
... |
options to be passed to checkUsage |
by default the skipWith arguments of checkUsagePackage is set to TRUE to mimic the devtools::check() function.
data.frame
1 2 3 4 5 6 7 8 9 10 11 | myfun <- function(x){
ret <- mtcars%>%
mutate(mpg2=mpg*x)
ret <- ret%>%
mutate(mpg3=mpg2^2)
}
tidycheckUsage(fun = myfun)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.