Nothing
# data("freelive2")
# data("mosquito")
test_that("checkinput works", {
## When using a numeric outcome and the prediction metric is for categorical variables, it will gives a warning
expect_warning(checkinput(X = XRVIP2,
Y = YR2, ## YR2 a numeric variable
DA=FALSE,
fitness="BER"))
## When using a numeric outcome and discrimination analysis is sepcified as TRUE, it will gives a error
expect_error( checkinput(X = XRVIP2,
Y = YR2, ## YR2 a numeric variable
DA=TRUE,
fitness="BER"))
})
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.