list_targets: List targets

Description Usage Arguments Details Value

Description

List targets contained within a remakefile

Usage

1
2
3
4
5
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")

Arguments

remake_file

Name of the remakefile to read (by default remake.yml)

type

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.

include_implicit_files

Logical scalar indicating if implicit targets should be included.

include_cleanup_targets

Logical scalar indicating if cleanup targets (which are automatically generated) should be included.

target_names

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.

Details

Do not rely on argument ordering here: please use argument names.

Value

A character vector containing names of targets.


richfitz/remake documentation built on May 27, 2019, 8:27 a.m.