Nothing
fitted_rf <- function(...) tidypredict_fit(parse_model(...))
skip_if_not_installed("randomForest")
test_that("Supports parsed models in list objects", {
expect_equal(
class(fitted_rf(lm(mpg ~ wt, data = mtcars)))[1],
"call"
)
expect_equal(
length(fitted_rf(
randomForest::randomForest(Species ~ ., data = iris)
)),
500
)
})
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.