tests/testthat/test-rsprite2-package.R

if (!interactive()) {
  test_that("fail without req package", {
    expect_error(.check_req_packages("abcdefxyz"))
  })
}

Try the rsprite2 package in your browser

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

rsprite2 documentation built on July 9, 2023, 6:43 p.m.