tests/testthat/test-launchers.R

test_that("ram runs without error in interactive mode", {
  skip_if_not(interactive(), "Only runs interactively")
  expect_error(ram(), NA)
})

test_that("lda runs without error in interactive mode", {
  skip_if_not(interactive(), "Only runs interactively")
  expect_error(lda(), NA)
})

test_that("rt runs without error in interactive mode", {
  skip_if_not(interactive(), "Only runs interactively")
  expect_error(rt(), NA)
})

test_that("rs runs without error in interactive mode", {
  skip_if_not(interactive(), "Only runs interactively")
  expect_error(rs(), NA)
})

test_that("rbd runs without error in interactive mode", {
  skip_if_not(interactive(), "Only runs interactively")
  expect_error(rbd(), NA)
})

Try the ReliaLearnR package in your browser

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

ReliaLearnR documentation built on May 27, 2026, 5:08 p.m.