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

context("Checking p_install")

test_that("p_install works",{
    skip_on_cran()
    skip_on_travis()
    require(pacman)
    expect_warning(p_install("iDontExistAnywhere"))
    tmp <- suppressWarnings(p_install("iDontExistAnywhere"))
    expect_false(tmp)
})

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.