revdep/checks.noindex/SSDM/new/SSDM.Rcheck/tests/testthat/test_stack_modelling.R

test_that('stack modelling function', {
  data(Env)
  data(Occurrences)
  SSDM <- stack_modelling(c('CTA', 'SVM'), Occurrences, Env, rep = 1,
                         Xcol = 'LONGITUDE', Ycol = 'LATITUDE',
                         Spcol = 'SPECIES', ensemble.thresh = 0,
                         verbose = FALSE, cores = 0)
  expect_is(SSDM, 'Stacked.SDM')
})
gbm-developers/gbm documentation built on Feb. 16, 2024, 6:13 p.m.