tests/testthat/test-check.R

testthat::test_that("package check works correct", {
  dir <- system.file(package = "gDRstyle", "tst_pkgs", "dummy_pkg")

  # FAIL ON ERROR CHECK
  testthat::expect_no_error(checkPackage("fakePkg", dir, fail_on = "error"))
})
gdrplatform/gDRstyle documentation built on March 31, 2024, 10:33 a.m.