tests/testthat/test-data.R

test_that("crime data classes look right", {
  data(crime)
  expect_equal(class(crime$time), c("POSIXct", "POSIXt"))
})

Try the ggmap package in your browser

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

ggmap documentation built on Nov. 19, 2023, 9:06 a.m.