graph_dependencies: graph_dependencies

Description Usage Arguments Value Examples

Description

graph_dependencies

Usage

1
2
graph_dependencies(dependencies = detect_dependencies(),
  files = list.files(recursive = TRUE))

Arguments

dependencies

A dataframe containing the edge list of dependencies between files. This is the same file which is passed to easy_make(). The dataframe should have two fields "file" and "pre_req" showing the file and its immediate pre-requisite respectively. If a file has multiple pre-requisites, list each dependency as a separate line in the dataframe.

files

A character vector of filenames within the project, for instance one produced by list.files(recursive = TRUE)

Value

A DiagrammeR plot showing the dependency graph.

Examples

1
2
3
4
test_dir <- system.file("test_project", package = "easyMake")
graph_dependencies(
detect_dependencies(test_dir),
files = list.files(test_dir))

GShotwell/easyMake documentation built on May 6, 2019, 5:31 p.m.