tests/testthat/test-bugs.R

context("various bug fixes")

test_that("repos is a list, #82", {

  skip_if_offline()

  expect_silent(
    withr::with_options(
      list(repos = list(CRAN = "https://cloud.r-project.org")),
      callr::r(function() utils::available.packages()))
  )

  gc()
})
r-pkgs/callr documentation built on March 24, 2019, 8:37 p.m.