tests/testthat/test-describe.R

test_that("main", {
  
  scdf <- exampleABC
  res <- describe(scdf)
  
  a <- sum(res$descriptives[,-(1:2)])
  b <- 2615.03644924563
  expect_equal(a, b)
  
})

Try the scan package in your browser

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

scan documentation built on Aug. 8, 2023, 5:07 p.m.