tests/testthat/test-geomultistar.R

context("test geomultistar")

test_that("geomultistar works", {
  gms <- geomultistar(ms = ms_mrs_test, geodimension = "where")

  expect_equal(class(gms), c("multistar", "geomultistar"))
  expect_equal(gms$geodimension, list(where = list(
    all_where = NULL,
    region = NULL,
    state = NULL,
    city = NULL
  )))
})

Try the geomultistar package in your browser

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

geomultistar documentation built on Sept. 11, 2024, 6:43 p.m.