Nothing
expect_hash_changes = function(x) {
id_before = x$id
hash_before = x$hash
x$id = "foo"
expect_false(identical(x$id, id_before))
if (!is.na(hash_before)) {
expect_false(identical(x$hash, hash_before))
}
x$id = id_before
expect_true(identical(x$id, id_before))
expect_true(identical(x$hash, hash_before))
}
test_that("task$hash", {
x = tsk("iris")
expect_hash_changes(x)
})
test_that("learner$hash", {
x = lrn("classif.rpart")
expect_hash_changes(x)
})
test_that("measure$hash", {
x = msr("classif.ce")
expect_hash_changes(x)
})
test_that("resampling$hash", {
x = rsmp("cv")
expect_hash_changes(x)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.