tests/testthat/test-data.R

context("test-data")

test_that("od_leeds", {
  expect_true(exists("od_leeds"))
  expect_true(nrow(od_leeds) == 10)
})

test_that("leeds_uber_sample", {
  expect_true(exists("leeds_uber_sample"))
  expect_true(nrow(leeds_uber_sample) == 10)
})

Try the pct package in your browser

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

pct documentation built on May 31, 2023, 7:55 p.m.