knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
library(teachr)

teachr

An R package to aid teaching of introduction to R

You can install the development version of teachr from GitHub with:

# install.packages("devtools")
devtools::install_github("numbats/teachr")

Example

`r ''````{teachr substitute}
z <- mean(<<1:5>>)
z

---

Hint: Add a vector inside mean()

???

expect_identical(z, 3)
```


numbats/teachr documentation built on March 26, 2022, 10:34 p.m.