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 May 2, 2019, 5:47 p.m.