dwww Home | Show directory contents | Find package

context("maps tidiers")

skip_on_cran()

skip_if_not_installed("modeltests")
library(modeltests)

skip_if_not_installed("maps")
ca <- maps::map("county", "ca", plot = FALSE, fill = TRUE)

test_that("tidy.map", {
  check_arguments(tidy.map)

  td <- tidy(ca)
  check_tidy_output(td, strict = FALSE)
  check_dims(td, expected_cols = 7)
})

Generated by dwww version 1.15 on Fri Jun 21 08:00:48 CEST 2024.