Copies a tutorial R Markdown file to the specified directory (default: current working directory) so students can edit and run it in RStudio.
Usage
open_tutorial(name, dest_dir = getwd())See also
run_tutorial for the interactive browser version.
Examples
if (interactive()) {
# Copy by name
open_tutorial("01-tidyverse-basics")
# Copy by number
open_tutorial(1)
}