tests/testthat/test-combineCV.R

test_that("The function provides the expected output", {
  model <- SDMtune:::bm_maxnet_cv
  combined_model <- combineCV(model)
  expect_s4_class(combined_model, "SDMmodel")
  expect_equal(model@data, combined_model@data)
})

Try the SDMtune package in your browser

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

SDMtune documentation built on April 4, 2025, 1:11 a.m.