Running ‘test-that.R’ [191s/236s]
Running the tests in ‘tests/test-that.R’ failed.
Complete output:
  > library(testthat)
  > test_check("devtools")
  Loading required package: devtools
  ── 1. Error: gist containing single file works unambiguously (@test-source_gist.
  API rate limit exceeded for 137.208.57.141. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) (403)
  1: source_gist("a65ddd06db40213f1a921237c55defbe", local = environment()) at testthat/test-source_gist.R:5
  2: find_gist(id, filename)
  3: github_GET(sprintf("gists/%s", id))
  4: github_response(req)
  
  ── 2. Error: gist with multiple files uses first with warning (@test-source_gist
  API rate limit exceeded for 137.208.57.141. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) (403)
  1: expect_warning(source_gist("605a984e764f9ed358556b4ce48cbd08", local = environment()), 
         "using first") at testthat/test-source_gist.R:11
  2: quasi_capture(enquo(object), capture_warnings, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withCallingHandlers(code, warning = function(condition) {
         out$push(condition)
         invokeRestart("muffleWarning")
     })
  5: eval_bare(get_expr(quo), get_env(quo))
  6: source_gist("605a984e764f9ed358556b4ce48cbd08", local = environment())
  7: find_gist(id, filename)
  8: github_GET(sprintf("gists/%s", id))
  9: github_response(req)
  
  ── 3. Error: can specify filename (@test-source_gist.R#17)  ────────────────────
  API rate limit exceeded for 137.208.57.141. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) (403)
  1: source_gist("605a984e764f9ed358556b4ce48cbd08", filename = "b.r", local = environment()) at testthat/test-source_gist.R:17
  2: find_gist(id, filename)
  3: github_GET(sprintf("gists/%s", id))
  4: github_response(req)
  
  ── 4. Failure: error if file doesn't exist or no files (@test-source_gist.R#22) 
  `source_gist(...)` threw an error with unexpected message.
  Expected match: "not found"
  Actual message: "API rate limit exceeded for 137.208.57.141. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) (403)\n"
  
  ── 5. Failure: error if file doesn't exist or no files (@test-source_gist.R#27) 
  `source_gist("c535eee2d02e5f47c8e7642811bc327c")` threw an error with unexpected message.
  Expected match: "No R files found"
  Actual message: "API rate limit exceeded for 137.208.57.141. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) (403)\n"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 47 SKIPPED: 6 FAILED: 5
  1. Error: gist containing single file works unambiguously (@test-source_gist.R#5) 
  2. Error: gist with multiple files uses first with warning (@test-source_gist.R#11) 
  3. Error: can specify filename (@test-source_gist.R#17) 
  4. Failure: error if file doesn't exist or no files (@test-source_gist.R#22) 
  5. Failure: error if file doesn't exist or no files (@test-source_gist.R#27) 
  
  Error: testthat unit tests failed
  Execution halted