tests/testthat/test-paths.R

context("Path specific")

test_that("Parse paths correctly", {
    expect_equal(get_paths("hello/world/test"), c("hello/world/test", "hello/world", "hello"))
})

Try the cabinets package in your browser

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

cabinets documentation built on Nov. 8, 2020, 4:32 p.m.