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 = "positron.tutorials")

# 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 positron.tutorials package in your browser

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

positron.tutorials documentation built on April 3, 2025, 7:39 p.m.