revdep/checks.noindex/SDMtune/new/SDMtune.Rcheck/tests/testthat/test-maxentTh.R

test_that("Raise the exception", {
  expect_error(maxentTh(SDMtune:::bm_maxnet))
})

test_that("Create the correct output", {
  expect_named(maxentTh(SDMtune:::bm_maxent))
  expect_is(maxentTh(SDMtune:::bm_maxent), "data.frame")
})
gbm-developers/gbm documentation built on Feb. 16, 2024, 6:13 p.m.