tests/testthat/helper_collected_mw2.R

library(jug)

collected_mw2<-
  collector() %>%
  get("/", function(req,res,err){
    return("test2")
  })

Try the jug package in your browser

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

jug documentation built on May 1, 2019, 10:31 p.m.