tests/testthat/test-misc.R

context("Test of general functionality")

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

Try the ordinal package in your browser

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

ordinal documentation built on Sept. 11, 2024, 7:44 p.m.