return_tutorial_paths {tutorial.helpers} | R 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')
[Package tutorial.helpers version 0.3.0 Index]