Empty Exercise Code with Duplicate

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


Try the learnr package in your browser

Any scripts or data that you put into this service are public.

learnr documentation built on Sept. 28, 2023, 9:06 a.m.