pkg_list: Lists the required packages

Description Usage Arguments Value

Description

The 'packages.yml' file contains a list of packages that are required.

Usage

1
2
pkg_list(path = ".", install = FALSE, scan = TRUE, rmd_dir = c("TD",
  "lectures", "site"), recursive = TRUE)

Arguments

path

character vector pointing to the root of the bs2 repository containing the optional 'packages.yml' file.

install

boolean telling whether to install missing packages (defaults to 'FALSE')

scan

boolean whether to scan source files for used packages (defaults to 'TRUE')

rmd_dir

character vector containing the subfolders with the Rmd source files.

recursive

logical should Rmd files be searched recursively

Value

A tibble listing the package, the version, whether it is already installed or not.


koncina/bs2site documentation built on Sept. 23, 2019, 6:54 p.m.