tests/testthat/test_autocorrelation_test.R

library(PCRedux)

context("autocorrelation_test")

test_that("autocorrelation_test gives the correct dimensions and properties", {
  library(qpcR)
  res_ac_positive <- autocorrelation_test(testdat[, 2])
 
  expect_that(res_ac_positive, is_a("numeric"))
})
PCRuniversum/PCRedux documentation built on July 30, 2024, 8 p.m.