tests/testthat/test-pkg-workarounds.R

test_that("core package list works", {
  pkgs <- c("base",
            "compiler",
            "datasets",
            "graphics",
            "grDevices",
            "grid",
            "methods",
            "parallel",
            "splines",
            "translations",
            "utils",
            "stats",
            "stats4",
            "tcltk",
            "tools")

  expect_true(all(core_pkgs() %in% pkgs))

})
LCBC-UiO/tsdrtools documentation built on June 22, 2022, 8:21 p.m.