tests/testthat/test_bcaPrintLarge.R

context("Print summary statistics of large mass functions")
library(dst)
test_that("bcaPrintLarge", {
  # empty test
  x <- bca(tt = matrix(c(1,1,0,1,1,1), nrow = 2, byrow = TRUE), m = c(0.8, 0.2), cnames = c(1,2,3))
  expect_type(bcaPrintLarge(x), "character")
})

Try the dst package in your browser

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

dst documentation built on Sept. 11, 2024, 7:05 p.m.