tests/testthat/test-get_package_details.R

context("get_package_details")

test_that("returns NULL if package is not installed",{
    expect_equal(
        get_package_details("package.that.not.here"),
        NULL
    )
})
cole-brokamp/automagic documentation built on March 29, 2021, 8:29 p.m.