View source: R/s3_drake_deps_ht.R
drake_deps_ht | R Documentation |
drake_deps_ht
helperStatic code analysis.
drake_deps_ht(expr, exclude = character(0), restrict = NULL)
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 |
A drake_deps_ht
object.
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_ht(expr)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.