# Generated by the vetiver package; edit with care
library(pins)
library(plumber)
library(rapidoc)
library(vetiver)
# Packages needed to generate model predictions
if (FALSE) {
library(ranger)
}
b <- board_folder(path = "/tmp/test")
v <- vetiver_pin_read(b, "cars_ranger")
#* @plumber
function(pr) {
pr %>% vetiver_api(v, debug = TRUE, type = "quantiles")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.