learnr (version 0.10.1)

tutorial_package_dependencies: List Tutorial Dependencies

Description

List the R packages required to run a particular tutorial.

Usage

tutorial_package_dependencies(name = NULL, package = NULL)

Arguments

name

The tutorial name. If name is NULL, then all tutorials within package will be searched.

package

The R package providing the tutorial. If package is NULL, then all tutorials will be searched.

Value

A character vector of package names that are required for execution.

Examples

Run this code
# NOT RUN {
tutorial_package_dependencies(package = "learnr")
# }

Run the code above in your browser using DataLab