tests/testthat/test-examples.R

context("examples")

test_that("Example arguments to eply are produced.", {
  e <- example.expr()
  expect_true(is.data.frame(e))
  expect_true(all(dim(e) > 1))
  expect_equal(example.fun(6, 3), 2)
  expect_true(is.list(example.with()))
})

Try the eply package in your browser

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

eply documentation built on May 1, 2019, 6:32 p.m.