tests/testthat/test-namespace-exports.R

test_that("path graph helpers are exported", {
    exports <- getNamespaceExports("dgraphs")

    expect_true("shortest.path" %in% exports)
    expect_true("create.path.graph" %in% exports)
    expect_true("get.shortest.path" %in% exports)
})

Try the dgraphs package in your browser

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

dgraphs documentation built on Aug. 21, 2026, 1:08 a.m.