return_tutorial_paths: Return all the paths to the tutorials in a package

View source: R/return_tutorial_paths.R

return_tutorial_pathsR Documentation

Return all the paths to the tutorials in a package

Description

Takes a package name and returns a character vector of all the paths to tutorials in the installed package. Assumes that every Rmd file in inst/tutorials/*/ is a tutorial, which should be true.

Usage

return_tutorial_paths(package)

Arguments

package

Character vector of the package name to be tested.

Value

Character vector of the full paths to all installed tutorials in package.

Examples

return_tutorial_paths('learnr')
  

tutorial.helpers documentation built on June 8, 2025, 1:26 p.m.