tests/testthat.R

if (require(testthat, quietly = TRUE) &&
    require(disposables, quietly = TRUE) &&
    Sys.getenv("NOT_CRAN") == "true") {
  library(pkgconfig)
  test_check("pkgconfig")

} else {
  cat("The testthat and disposables packages are required for unit tests")
}

Try the pkgconfig package in your browser

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

pkgconfig documentation built on Sept. 22, 2019, 5:05 p.m.