tests/testthat/test-units.R

test_that("all units exist", {
  for (i in unique(move2:::mb_column_units))
  {
    expect_s3_class(units::as_units(i), "units")
  }
})

Try the move2 package in your browser

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

move2 documentation built on April 4, 2025, 12:24 a.m.