Running 'test-all.R' [263s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(cli)
  > library(testthat)
  > old.env <- Sys.getenv("checkpoint.mock.install")
  > Sys.setenv("checkpoint.mock.install" = TRUE)
  > test_check("checkpoint")
  Loading required package: checkpoint
  
  checkpoint: Part of the Reproducible R Toolkit from Microsoft
  https://mran.microsoft.com/documents/rro/reproducibility/
  -- 1. Failure: is.404 (@test-0-is-404.R#11)  -----------------------------------
  is.404("http://mran.microsoft.com/snapshot") isn't false.
  
  -- 2. Failure: is.404 (@test-0-is-404.R#14)  -----------------------------------
  is.404("http://mran.microsoft.com/snapshot/2015-05-01") isn't false.
  
  -- 3. Error: returns a list of dates (@test-2-snapshot-dates.R#8)  -------------
  Unable to download from MRAN: cannot open the connection
  1: getValidSnapshots() at testthat/test-2-snapshot-dates.R:8
  2: stop(sprintf("Unable to download from MRAN: %s", text$message))
  
  -- 4. Failure: suggests a reasonable alternative (@test-2-snapshot-dates.R#17)  
  `stopIfInvalidDate("2015-06-05")` did not throw an error.
  
  -- 5. Failure: suggests a reasonable alternative (@test-2-snapshot-dates.R#22)  
  `checkpoint("2015-06-05")` threw an error with unexpected message.
  Expected match: "Snapshot does not exist on MRAN. Try 2015-06-03 or 2015-06-09."
  Actual message: "The .checkpoint folder does not exist. Please try again after creating the folder at C:\\Users\\CRAN\\Documents\\.checkpoint"
  
  -- 6. Error: (unknown) (@test-3-checkpoint.R#202)  -----------------------------
  Unable to download from MRAN: cannot open the connection
  1: getValidSnapshots() at testthat/test-3-checkpoint.R:202
  2: stop(sprintf("Unable to download from MRAN: %s", text$message))
  
  == testthat results  ===========================================================
  OK: 37 SKIPPED: 6 FAILED: 6
  1. Failure: is.404 (@test-0-is-404.R#11) 
  2. Failure: is.404 (@test-0-is-404.R#14) 
  3. Error: returns a list of dates (@test-2-snapshot-dates.R#8) 
  4. Failure: suggests a reasonable alternative (@test-2-snapshot-dates.R#17) 
  5. Failure: suggests a reasonable alternative (@test-2-snapshot-dates.R#22) 
  6. Error: (unknown) (@test-3-checkpoint.R#202) 
  
  Error: testthat unit tests failed
  Execution halted