tests/testthat.R

library("testthat")
library("sentopics")

if (Sys.getenv("R_COVR") != "true") {
  test_check("sentopics")
} else {
  test_check("sentopics", reporter = default_reporter())
  # test_check("sentopics", reporter = LocationReporter)
}

# setwd("tests")
# print(test_check("sentopics", reporter = ListReporter))
# getwd()
# e <- covr::package_coverage(quiet = FALSE, clean = FALSE)
# attr(e, "library")

Try the sentopics package in your browser

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

sentopics documentation built on May 31, 2023, 8:26 p.m.