inst/templates/inst/entrypoints/plumber-background.R

################################################################################
## plumber: Quick Start Guide
## <https://www.rplumber.io/index.html>
################################################################################
path <- usethis::proj_path("inst", 'entrypoints', 'plumber-foreground.R')
rstudioapi::jobRunScript(
    path = path,
    name = "Plumber API",
    workingDir = ".",
    importEnv = FALSE,
    exportEnv = ""
)

Try the microservices package in your browser

Any scripts or data that you put into this service are public.

microservices documentation built on Oct. 1, 2022, 5:07 p.m.