tests/testthat/test-cyclocomp-package.R

context("CC of a package")

test_that("cyclocomp_package", {
  res <- cyclocomp_package("cyclocomp")
  expect_true(inherits(res, "data.frame"))
  expect_true("cyclocomp" %in% res$name)
  expect_equal(colnames(res), c("name", "cyclocomp"))
})

Try the cyclocomp package in your browser

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

cyclocomp documentation built on Aug. 31, 2023, 1:09 a.m.