library(learnr)
tutorial_options(exercise.lines = 4L)

knitr::opts_chunk$set(
  echo = FALSE, 
  custom_chunk_opt = "default",
  fig.path = "figures",
  cache.path = "cache"
)

Test

First empty

This tutorial should fail to parse.


Empty


# hint code
mtcars


rstudio/learnr documentation built on Sept. 6, 2024, 11:06 p.m.