tests/testthat/test-02_define_indepvars_outcome.R

library(testthat)

test_that("output", {
  expect_no_error(define_indepvars(obj1))
  expect_type(define_indepvars(obj1), type = "list")
  expect_type(define_indepvars(obj1)$stepwise_process , type = "list")
  expect_type(define_indepvars(obj1)$ordered_indep_vars , type = "character")
  expect_type(define_indepvars(obj1)$bootstrap_data , type = "list")

})

Try the tradeoffaucdim package in your browser

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

tradeoffaucdim documentation built on June 10, 2025, 9:09 a.m.