tests/testthat/test_format_syd.R

skip_if_not_installed("foreign")

test_that("Import from Systat", {
    expect_true(is.data.frame(import(system.file("files/Iris.syd", package = "foreign")[1])))
})

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.