tests/testthat/test-getDefaultPermittedPackages.R

library(DependencyReviewer)
library(testthat)

local_envvar(
  R_USER_CACHE_DIR = tempfile()
)

test_that("Void", {
  skip_if_offline()
  expect_s3_class(getDefaultPermittedPackages(), "data.frame")
})

Try the DependencyReviewer package in your browser

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

DependencyReviewer documentation built on March 31, 2023, 9:30 p.m.