tests/testthat/test-max-nrow.R

context("max-nrow")

test_that("max_nrow works", {
  expect_true(length(max_nrow()) == 1)
  expect_is(max_nrow(), "integer")
  expect_identical(max_nrow(), as.integer(2 ^ 31 - 1))
})

Try the datacheckr package in your browser

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

datacheckr documentation built on May 30, 2017, 6:05 a.m.