# NOT RUN {
if (requireNamespace("plumber", quietly = TRUE)) {
app <- plumber::plumber$new() # Normally this is plumber::plumb().
app <- register_plumber_metrics(app)
# }
# NOT RUN {
app$run()
# }
# NOT RUN {
}
# }
Run the code above in your browser using DataLab