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 Nov. 2, 2023, 6:02 p.m.