tests/testthat.R

library("sparrow")
library("testthat")
library("data.table")
library("dplyr")

test_check("sparrow")

## Remove temporary files that were generated
test.dir <- system.file('tests', package = "sparrow")
pdfs <- dir(test.dir, "\\.pdf$", full.names=TRUE)
if (length(pdfs)) {
  unlink(pdfs)
}
lianos/sparrow documentation built on Feb. 5, 2024, 2:58 p.m.