tests/testthat/test-internal.R

skip_on_cran()
context("internal")

test_that("internal (labels)", {
  expect_length(expect_is(moveVis:::.x_labels(c(NA, -10,0,10,20,30)), "expression"), 5)
  expect_length(expect_is(moveVis:::.y_labels(c(NA, -10,0,10,20,30)), "expression"), 5)
})

test_that("internal (onLoad)", {
  expect_invisible(moveVis:::.onLoad())
})

Try the moveVis package in your browser

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

moveVis documentation built on March 31, 2020, 5:08 p.m.