Show the command that produced a target or indicate that the object or file was imported.
show_source(target, config, character_only = FALSE)
symbol denoting the target or import
or a character vector if character_only is TRUE
.
a drake_config()
list
logical, whether to interpret
target
as a symbol (FALSE
) or character vector
(TRUE
).
# NOT RUN {
plan <- drake_plan(x = rnorm(15))
make(plan)
config <- drake_config(plan)
show_source(x, config)
show_source(rnorm, config)
# }
Run the code above in your browser using DataLab