tests/testthat/test-types.R

test_that("types", {
    
    types <- epTypes()
    
    expect_length(types, 2L)
    
    expect_named(types, c("listable", "linkable"))
    
    expect_type(types$listable, "character")
    expect_s3_class(types$linkable, "data.frame")
})

Try the enviPathR package in your browser

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

enviPathR documentation built on Oct. 14, 2026, 5:07 p.m.