tests/testthat/test_format_dif.R

test_that("Import from DIF", {
    dd <- import(file.path(system.file("misc", package = "utils"), "exDIF.dif"), transpose = TRUE)
    expect_true(is.data.frame(dd))
})

Try the rio package in your browser

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

rio documentation built on June 22, 2024, 9:48 a.m.