tests/testthat/single-function-encapsulation.R

sum <- function(t1, t2) {
  return (t1 + t2)
}

module.exports = sum

Try the lrequire package in your browser

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

lrequire documentation built on May 1, 2019, 6:49 p.m.