#within test-my_rf_cv.R
test_that("my_rf_cv outputs a numeric", {
expect_is(my_rf_cv(k = 5), "numeric")
})
test_that("non-numeric input throws error", {
expect_error(my_rf_cv(pnorm()))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.