tests/testthat/test-head.R

context("head")

source("util.R")

test_that("head works", {
  tbl_women <- get_tbl_women()
  expect_equal(head(tbl_women), head(women))
})

test_that("head 10 works", {
  tbl_women <- get_tbl_women()
  expect_equal(head(tbl_women, 10), head(women, 10))
})

Try the chunked package in your browser

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

chunked documentation built on March 18, 2022, 6:04 p.m.