tests/testthat/test-misc.R

context("Test of general functionality")

test_that("citation reports year", {
    txt <- citation("sensR")
    expect_true(as.logical(grep("year", txt)))
})

Try the sensR package in your browser

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

sensR documentation built on May 2, 2019, 9:43 a.m.