Running ‘test-all.R’ [6s/25s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > if(require(testthat)) {
  +   test_check("miniCRAN")
  + }
  Loading required package: testthat
  Loading required package: miniCRAN
  1. Error: pkgAvail throws warnings and errors for incorrect CRAN repos (@test-1-pkgAvail.R#16) 
  unknown input format
  1: expect_true(is.available.packages(pkgAvail(repos = MRAN()))) at testthat/test-1-pkgAvail.R:16
  2: expect(identical(as.vector(object), TRUE), sprintf("%s isn't true.", lab), info = info)
  3: as.expectation(exp, ..., srcref = srcref)
  4: identical(as.vector(object), TRUE)
  5: as.vector(object)
  6: is.available.packages(pkgAvail(repos = MRAN()))
  7: pkgAvail(repos = MRAN()) at testthat/test-1-pkgAvail.R:8
  8: ap()
  9: utils::available.packages(contribUrl(repos, type = type, Rversion = Rversion), type = type, 
         filters = list(), repos = repos)
  10: readRDS(dest)
  
  2. Error: makeRepo downloads win.binary files and builds PACKAGES file (@test-4-makeRepo-from-localCRAN.R#31) 
  Unable to retrieve available packages from CRAN
  1: pkgDep(pkgs, availPkgs = pdb, repos = revolution, type = pkg_type, suggests = FALSE, 
         Rversion = rvers) at testthat/test-4-makeRepo-from-localCRAN.R:31
  2: stop("Unable to retrieve available packages from CRAN")
  
  3. Error: sample repo is setup correctly (@test-5-updateRepo.R#30) -------------
  Unable to retrieve available packages from CRAN
  1: lapply(types, function(type) {
         pkgDep(pkg = pkgs, type = types[type], availPkgs = pdb[[type]], repos = revolution, 
             suggests = FALSE, Rversion = rvers)
     }) at testthat/test-5-updateRepo.R:30
  2: FUN(X[[i]], ...)
  3: pkgDep(pkg = pkgs, type = types[type], availPkgs = pdb[[type]], repos = revolution, 
         suggests = FALSE, Rversion = rvers) at testthat/test-5-updateRepo.R:31
  4: stop("Unable to retrieve available packages from CRAN")
  
  testthat results ================================================================
  OK: 19 SKIPPED: 23 FAILED: 3
  1. Error: pkgAvail throws warnings and errors for incorrect CRAN repos (@test-1-pkgAvail.R#16) 
  2. Error: makeRepo downloads win.binary files and builds PACKAGES file (@test-4-makeRepo-from-localCRAN.R#31) 
  3. Error: sample repo is setup correctly (@test-5-updateRepo.R#30) 
  
  Error: testthat unit tests failed
  Execution halted