tests/testthat.R

library(testthat)
library(linelist)

test_df <- as.data.frame(test_check("linelist"))

if (any(test_df$warning > 0) && !identical(Sys.getenv("NOT_CRAN"), "TRUE")) {
  stop("tests failed with warnings")
}

Try the linelist package in your browser

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

linelist documentation built on June 22, 2024, 10:54 a.m.