tests/testthat/test-pla_glm.R

test_that("using a random bag generator the pipeline creates a model with numeric AIC vector", {
  setwd("../..")
  get_random_bags(lp= 1)
  out <- pls_glm(ll = 1)
  expect_true(out$mod$AIC %>% is.numeric())
})
MarconiS/hiPyRneon documentation built on Jan. 20, 2021, 11:38 p.m.