inst/tests/test_anylength.R

context("anylength")

test_that("vector has correct length", {
  a <- c(1,2,3)
  expect_that(anylength(a), equals(3))
})

Try the futile.any package in your browser

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

futile.any documentation built on May 1, 2019, 9:26 p.m.