Description Usage Arguments Value Examples
This function is the first step in any checkr sequence. It scans the quoted commands for parse errors, evaluates the lines one at a time, and packages up the lines into quosures with an environment in which the line should be executed. (That way the lines can be evaluated in a stand-alone manner.)
1 | for_checkr(exprs)
|
exprs |
an expression or set of expressions in a curly brace |
a quosure for each expression in exs, with an associated environment that reflects the state when that expression was evaluated.
1 2 3 4 5 | code <- for_checkr(quote({x <- 2; y <- x^2; z <- x + y}))
class(code)
passed(code)
line_where(code, Z == "z")
line_where(code, V == 4, Z == "y")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.