tests/testthat/test_install_formats.R

test_that("uninstalled_formats()", {
    skip_on_cran()
    formats <- uninstalled_formats()
    if (is.null(formats)) {
        expect_true(install_formats())
    } else {
        expect_type(formats, "character")
    }
})
leeper/rio documentation built on Sept. 17, 2024, 1:29 a.m.