tests/testthat/helper-RcppR6.R

passes_tests <- function() {
  function(package) {
    res <- devtools::test(package)
    expectation(sum(as.data.frame(res)$failed) == 0,
                "tests failed", "tests passed")
  }
}
richfitz/RcppR6 documentation built on May 27, 2019, 8:15 a.m.