test_that("unloading leaves no trace", {
library(mlr3spatiotempcv)
n_resamplings = length(resamplings)
n_total = length(mlr_resamplings$keys())
unloadNamespace("mlr3spatiotempcv")
n_mlr = length(mlr_resamplings$keys())
expect_true(n_resamplings == n_total - n_mlr)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.