tests/testthat/test-render.R

# For now, we will do all our tutorial testing in this one script.

tutorial_paths <- tutorial.helpers::return_tutorial_paths(package = "tutorial.helpers")

# First, we make sure that all the tutorials can be knitted.

tutorial.helpers::knit_tutorials(tutorial_paths)

# Second, ensure that all the tutorials have the default components: copy-code button,
# information/download pages.

tutorial.helpers::check_tutorial_defaults(tutorial_paths)

Try the tutorial.helpers package in your browser

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

tutorial.helpers documentation built on Sept. 11, 2025, 9:09 a.m.