drake_deps {drake} | R Documentation |
drake_deps
helper
Description
Static code analysis.
Usage
drake_deps(expr, exclude = character(0), restrict = NULL)
Arguments
expr |
An R expression |
exclude |
Character vector of the names of symbols to exclude from the code analysis. |
restrict |
Optional character vector of allowable names of globals.
If |
Value
A drake_deps
object.
Examples
if (FALSE) { # stronger than roxygen dontrun
expr <- quote({
a <- base::list(1)
b <- seq_len(10)
file_out("abc")
file_in("xyz")
x <- "123"
loadd(abc)
readd(xyz)
})
drake_deps(expr)
}
[Package drake version 7.13.10 Index]