test_that("output is numeric", {
expect_is(my_rf_cv(5), "numeric")
})
test_that("non numeric input for k throws an error", {
expect_error(my_rf_cv("a"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.