tests/testthat/_snaps/rsconnect.md

create rsconnect bundle: contains correct plumber file

Code
  cat(readr::read_lines(fs::path(tmp_dir, "plumber.R")), sep = "\n")
Output
  # Generated by the vetiver package; edit with care

  library(pins)
  library(plumber)
  library(rapidoc)
  library(vetiver)
  b <- board_folder(path = "<redacted>")
  v <- vetiver_pin_read(b, "cars1")

  #* @plumber
  function(pr) {
      pr %>% vetiver_api(v)
  }


tidymodels/vetiver documentation built on Oct. 15, 2024, 4:16 p.m.