Skip to contents

Return details of packages required by all src reports in this orderly repo

Usage

orderly_packages(root = NULL, locate = TRUE)

Arguments

root

The path to an orderly root directory, or NULL (the default) to search for one from the current working directory if locate is TRUE.

locate

Logical, indicating if the configuration should be searched for. If TRUE and config is not given, then orderly looks in the working directory and up through its parents until it finds an orderly_config.yml file.

Value

List of packages required by all src reports

Examples

path <- orderly::orderly_example("minimal")
orderly::orderly_packages(root = path)
#> [[1]]
#> [1] "withr"
#>