tests/testthat/exports.R

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

exports$hello.world <- 'hello world!'
exports$sum = 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.