tests/testthat/test_recursion.r

context("Recursive requires should work")

test_that('I can require to one level of recursion', {
  foo <- nprm.require('foo')
  expect_that(is.data.frame(foo), is_true())
})
tlevine/nprm documentation built on May 31, 2019, 3:51 p.m.