List targets contained within a remakefile
list_targets(remake_file = "remake.yml", type = NULL,
include_implicit_files = FALSE, include_cleanup_targets = FALSE)list_dependencies(target_names, type = NULL, include_implicit_files = FALSE,
include_cleanup_targets = FALSE, remake_file = "remake.yml")
Name of the remakefile to read (by default
remake.yml
)
Type of target to return. May be fake
,
object
, file
or cleanup
. Eventually subtypes
will be supported (knitr and plot targets) but this is not
possible yet.
Logical scalar indicating if implicit targets should be included.
Logical scalar indicating if cleanup targets (which are automatically generated) should be included.
Names of targets to list dependencies of (for
list_dependencies
). These dependencies will be filtered as
for list_targets
. Dependencies are listed in topological
order: targets have no dependencies that occur later than them in
the vector.
A character vector containing names of targets.
Do not rely on argument ordering here: please use argument names.