list_deps {reportfactory} | R Documentation |
List dependencies of reports within a factory
Description
List package dependencies based on the reports and scripts within the report_sources and scripts directories respectively.
Usage
list_deps(
factory = ".",
missing = FALSE,
check_r = TRUE,
exclude_readme = TRUE,
parse_first = FALSE
)
Arguments
factory |
The path to the report factory or a folder within the desired factory. Defaults to the current directory. |
missing |
A logical indicating if only missing dependencies should be
listed ( |
check_r |
If true, R scripts contained within the factory will also be checked. Note that this will error if the script cannot be parsed. |
exclude_readme |
If TRUE (default) README files will not be checked for dependencies. |
parse_first |
If |
Value
A character vector of package dependencies.
Note
This function requires that any R scripts present in the factory are valid syntax else the function will error.