Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(githubinstall)
  > 
  > test_check("githubinstall",  filter = "[^(really_install)]")
  -- 1. Error: Install a single package (@test-gh_install_packages.R#10)  --------
  HTTP error 502.
  1: gh_install_packages(repo, ask = FALSE) at testthat/test-gh_install_packages.R:10
  2: lapply(packages, select_repository)
  3: FUN(X[[i]], ...)
  4: gh_suggest(package_name, keep_title = TRUE)
  5: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  6: get_package_list()
  7: gh_update_package_list()
  8: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  9: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 2. Error: Install two package (@test-gh_install_packages.R#17)  -------------
  HTTP error 502.
  1: gh_install_packages(repo, ask = FALSE) at testthat/test-gh_install_packages.R:17
  2: lapply(packages, select_repository)
  3: FUN(X[[i]], ...)
  4: gh_suggest(package_name, keep_title = TRUE)
  5: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  6: get_package_list()
  7: gh_update_package_list()
  8: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  9: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 3. Error: Install: ask yes (@test-gh_install_packages.R#33)  ----------------
  HTTP error 502.
  1: gh_install_packages(repo, ask = TRUE) at testthat/test-gh_install_packages.R:33
  2: lapply(packages, select_repository)
  3: FUN(X[[i]], ...)
  4: gh_suggest(package_name, keep_title = TRUE)
  5: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  6: get_package_list()
  7: gh_update_package_list()
  8: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  9: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 4. Error: gh_list_packages (@test-gh_list_packages.R#4)  --------------------
  HTTP error 502.
  1: gh_list_packages(username = "hadley") at testthat/test-gh_list_packages.R:4
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 5. Error: gh_search_packages (@test-gh_search_packages.R#4)  ----------------
  HTTP error 502.
  1: gh_search_packages("lasso") at testthat/test-gh_search_packages.R:4
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 6. Error: full name (@test-gh_suggest.R#5)  ---------------------------------
  HTTP error 502.
  1: gh_suggest(repo_name = repo, keep_title = FALSE) at testthat/test-gh_suggest.R:5
  2: suggest_fullname(repo_name = repo_name, keep_title = keep_title)
  3: get_package_list()
  4: gh_update_package_list()
  5: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  6: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 7. Error: full name: has title (@test-gh_suggest.R#11)  ---------------------
  HTTP error 502.
  1: gh_suggest(repo_name = repo, keep_title = TRUE) at testthat/test-gh_suggest.R:11
  2: suggest_fullname(repo_name = repo_name, keep_title = keep_title)
  3: get_package_list()
  4: gh_update_package_list()
  5: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  6: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 8. Error: no full name: single result (@test-gh_suggest.R#17)  --------------
  HTTP error 502.
  1: gh_suggest(repo_name = repo, keep_title = FALSE) at testthat/test-gh_suggest.R:17
  2: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  3: get_package_list()
  4: gh_update_package_list()
  5: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  6: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 9. Error: no full name: multi result (@test-gh_suggest.R#23)  ---------------
  HTTP error 502.
  1: gh_suggest(repo_name = repo, keep_title = FALSE) at testthat/test-gh_suggest.R:23
  2: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  3: get_package_list()
  4: gh_update_package_list()
  5: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  6: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 10. Error: no full name: has title (@test-gh_suggest.R#29)  -----------------
  HTTP error 502.
  1: gh_suggest(repo_name = repo, keep_title = TRUE) at testthat/test-gh_suggest.R:29
  2: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  3: get_package_list()
  4: gh_update_package_list()
  5: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  6: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 11. Error: to_candidates: no inds (@test-gh_suggest.R#37)  ------------------
  HTTP error 502.
  1: to_candidates(package_name = package_name) at testthat/test-gh_suggest.R:37
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 12. Error: to_candidates: single result (@test-gh_suggest.R#43)  ------------
  HTTP error 502.
  1: to_candidates(package_name = package_name, keep_title = FALSE) at testthat/test-gh_suggest.R:43
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 13. Error: to_candidates: multi result (@test-gh_suggest.R#49)  -------------
  HTTP error 502.
  1: to_candidates(package_name = package_name, keep_title = FALSE) at testthat/test-gh_suggest.R:49
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 14. Error: to_candidates: has title (@test-gh_suggest.R#55)  ----------------
  HTTP error 502.
  1: to_candidates(package_name = package_name, keep_title = TRUE) at testthat/test-gh_suggest.R:55
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 15. Error: gh_suggest_username (@test-gh_suggest_username.R#4)  -------------
  HTTP error 502.
  1: gh_suggest_username("yuhui") at testthat/test-gh_suggest_username.R:4
  2: get_package_list()
  3: gh_update_package_list()
  4: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  5: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 16. Error: yutannihilation (@test-gh_suggest_username.R#10)  ----------------
  HTTP error 502.
  1: expect_equal(gh_suggest_username("yutani"), "yutannihilation") at testthat/test-gh_suggest_username.R:10
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: gh_suggest_username("yutani")
  5: get_package_list()
  6: gh_update_package_list()
  7: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  8: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 17. Error: get_package_list (@test-utils.R#4)  ------------------------------
  HTTP error 502.
  1: get_package_list() at testthat/test-utils.R:4
  2: gh_update_package_list()
  3: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  4: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 18. Error: select_repository: single candidate (@test-utils_for_install.R#120
  HTTP error 502.
  1: select_repository(package_name = package_name) at testthat/test-utils_for_install.R:120
  2: gh_suggest(package_name, keep_title = TRUE)
  3: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  4: get_package_list()
  5: gh_update_package_list()
  6: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  7: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 19. Error: select_repository: multi candidates (@test-utils_for_install.R#130
  HTTP error 502.
  1: select_repository(package_name = package_name) at testthat/test-utils_for_install.R:130
  2: gh_suggest(package_name, keep_title = TRUE)
  3: suggest_no_fullname(package_name = repo_name, keep_title = keep_title)
  4: get_package_list()
  5: gh_update_package_list()
  6: fread(download_url, sep = "\t", header = FALSE, stringsAsFactors = FALSE, colClasses = c("character", 
         "character", "character"), col.names = c("username", "package_name", "title"), 
         showProgress = FALSE, na.strings = NULL)
  7: curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  == testthat results  ===========================================================
  OK: 25 SKIPPED: 0 FAILED: 19
  1. Error: Install a single package (@test-gh_install_packages.R#10) 
  2. Error: Install two package (@test-gh_install_packages.R#17) 
  3. Error: Install: ask yes (@test-gh_install_packages.R#33) 
  4. Error: gh_list_packages (@test-gh_list_packages.R#4) 
  5. Error: gh_search_packages (@test-gh_search_packages.R#4) 
  6. Error: full name (@test-gh_suggest.R#5) 
  7. Error: full name: has title (@test-gh_suggest.R#11) 
  8. Error: no full name: single result (@test-gh_suggest.R#17) 
  9. Error: no full name: multi result (@test-gh_suggest.R#23) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted