tests/testthat/test-proc_freq.R

library(helda)

context('Proc Freq Function')

test_that("proc freq", {
  data <- iris
  load(file = 'proc_freq_test.Rda')
  expect_equal(proc_freq(data$Species), proc_freq_test, check.environment = FALSE)
})
Redcart/helda documentation built on March 3, 2023, 11:55 p.m.