test_chunk_options: Check whether the student defined the correct chunk options...

View source: R/rstudio-test-chunk-options.R

test_chunk_optionsR Documentation

Check whether the student defined the correct chunk options (R Markdown exercises)

Description

Check whether the student defined the correct chunk options in an R Markdown exercise

Usage

test_chunk_options(options = NULL, not_called_msg = NULL,
  incorrect_msg = NULL)

Arguments

options

Set of options

not_called_msg

feedback message if option was not specified

incorrect_msg

feedback message if option was incorrectly set

Details

This test can only be called inside a test_rmd_group() call!


Data-Camp/testwhat documentation built on June 24, 2022, 9:59 p.m.