Description Usage Arguments Value Examples
graph_dependencies
1 2 | graph_dependencies(dependencies = detect_dependencies(),
files = list.files(recursive = TRUE))
|
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) |
A DiagrammeR plot showing the dependency graph.
1 2 3 4 | test_dir <- system.file("test_project", package = "easyMake")
graph_dependencies(
detect_dependencies(test_dir),
files = list.files(test_dir))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.