tests/test-async.R

if (file.exists("async") && Sys.getenv("NOT_CRAN") == "true") {
  library(testthat)
  library(pkgcache)
  print(sessioninfo::package_info("pkgcache", dependencies = TRUE))

  test_dir(
    "async",
    env = new.env(parent = asNamespace("pkgcache")),
    reporter = "summary"
  )
}
r-lib/pkgcache documentation built on April 7, 2024, 5:57 a.m.