tests/test_isNamespaceLoaded.R

source("helper/helper.R")

expect_true(isNamespaceLoaded("base"))
expect_true(isNamespaceLoaded("backports"))
expect_false(isNamespaceLoaded("..notexisting.."))

Try the backports package in your browser

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

backports documentation built on Dec. 13, 2021, 5:08 p.m.