inst/removed/tests/testthat/test-p_base.R

context("Checking p_base")

test_that("p_base includes base packages",{
    expect_that(p_base(base.only = FALSE, basemarker = "***"), prints_text("base\\*\\*\\*"))
    expect_that(p_base(base.only = FALSE, basemarker = "*joke*"), prints_text("base\\*joke\\*"))
})

Try the pacman package in your browser

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

pacman documentation built on May 2, 2019, 1:08 p.m.