tutorial_package_dependencies: List Tutorial Dependencies

Description Usage Arguments Value Examples

View source: R/tutorial_package_dependencies.R

Description

List the R packages required to run a particular tutorial.

Usage

1

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

1
tutorial_package_dependencies(package = "learnr")

Example output

[1] "dygraphs"     "knitr"        "Lahman"       "learnr"       "nycflights13"
[6] "rmarkdown"    "shiny"        "sortable"     "tidyverse"   

learnr documentation built on March 26, 2020, 7:45 p.m.