tests/testthat/test-tutorials_run.R

test_that("run_tute() runs without error when missing argument", {
  skip_if_not_installed("learnr")
  expect_error(run_tute(), NA)
})

test_that("extract_tute() runs without error when missing argument", {
  skip_if_not_installed("learnr")
  expect_error(extract_tute(), NA)
})

Try the migraph package in your browser

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

migraph documentation built on April 18, 2026, 1:06 a.m.