tests/testthat/test-xgboostPred.R

library(vegan)
data(varechem)
data(varespec)

test_that("xgboost prediction no error", {
    expect_no_error(
        xgboostPred(
            vegdist(varespec, "bray"),
            varechem
        )
    )
})

Try the betaStability package in your browser

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

betaStability documentation built on June 5, 2026, 5:08 p.m.