# NOT RUN {
# Direct usage
safe(run_tutorial("hello", package = "learnr"))
# Programmatic usage
library(rlang)
expr <- quote(run_tutorial("hello", package = "learnr"))
safe(!!expr)
tutorial <- "hello"
safe(run_tutorial(!!tutorial, package = "learnr"))
# }
Run the code above in your browser using DataLab