Running 'testthat.R' [3s]
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)  --------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_install_packages(repo, ask = FALSE)
   2. base::lapply(packages, select_repository)
   3. githubinstall:::FUN(X[[i]], ...)
   4. githubinstall::gh_suggest(package_name, keep_title = TRUE)
   5. githubinstall:::suggest_no_fullname(...)
   6. githubinstall:::get_package_list()
   7. githubinstall::gh_update_package_list()
   8. data.table::fread(...)
   9. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 2. Error: Install two package (@test-gh_install_packages.R#17)  -------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_install_packages(repo, ask = FALSE)
   2. base::lapply(packages, select_repository)
   3. githubinstall:::FUN(X[[i]], ...)
   4. githubinstall::gh_suggest(package_name, keep_title = TRUE)
   5. githubinstall:::suggest_no_fullname(...)
   6. githubinstall:::get_package_list()
   7. githubinstall::gh_update_package_list()
   8. data.table::fread(...)
   9. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 3. Error: Install: ask yes (@test-gh_install_packages.R#33)  ----------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_install_packages(repo, ask = TRUE)
   2. base::lapply(packages, select_repository)
   3. githubinstall:::FUN(X[[i]], ...)
   4. githubinstall::gh_suggest(package_name, keep_title = TRUE)
   5. githubinstall:::suggest_no_fullname(...)
   6. githubinstall:::get_package_list()
   7. githubinstall::gh_update_package_list()
   8. data.table::fread(...)
   9. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 4. Error: gh_list_packages (@test-gh_list_packages.R#4)  --------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_list_packages(username = "hadley")
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 5. Error: gh_search_packages (@test-gh_search_packages.R#4)  ----------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_search_packages("lasso")
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 6. Error: full name (@test-gh_suggest.R#5)  ---------------------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_suggest(repo_name = repo, keep_title = FALSE)
   2. githubinstall:::suggest_fullname(repo_name = repo_name, keep_title = keep_title)
   3. githubinstall:::get_package_list()
   4. githubinstall::gh_update_package_list()
   5. data.table::fread(...)
   6. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 7. Error: full name: has title (@test-gh_suggest.R#11)  ---------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_suggest(repo_name = repo, keep_title = TRUE)
   2. githubinstall:::suggest_fullname(repo_name = repo_name, keep_title = keep_title)
   3. githubinstall:::get_package_list()
   4. githubinstall::gh_update_package_list()
   5. data.table::fread(...)
   6. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 8. Error: no full name: single result (@test-gh_suggest.R#17)  --------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_suggest(repo_name = repo, keep_title = FALSE)
   2. githubinstall:::suggest_no_fullname(...)
   3. githubinstall:::get_package_list()
   4. githubinstall::gh_update_package_list()
   5. data.table::fread(...)
   6. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 9. Error: no full name: multi result (@test-gh_suggest.R#23)  ---------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_suggest(repo_name = repo, keep_title = FALSE)
   2. githubinstall:::suggest_no_fullname(...)
   3. githubinstall:::get_package_list()
   4. githubinstall::gh_update_package_list()
   5. data.table::fread(...)
   6. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 10. Error: no full name: has title (@test-gh_suggest.R#29)  -----------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_suggest(repo_name = repo, keep_title = TRUE)
   2. githubinstall:::suggest_no_fullname(...)
   3. githubinstall:::get_package_list()
   4. githubinstall::gh_update_package_list()
   5. data.table::fread(...)
   6. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 11. Error: to_candidates: no inds (@test-gh_suggest.R#37)  ------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::to_candidates(package_name = package_name)
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 12. Error: to_candidates: single result (@test-gh_suggest.R#43)  ------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::to_candidates(package_name = package_name, keep_title = FALSE)
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 13. Error: to_candidates: multi result (@test-gh_suggest.R#49)  -------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::to_candidates(package_name = package_name, keep_title = FALSE)
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 14. Error: to_candidates: has title (@test-gh_suggest.R#55)  ----------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::to_candidates(package_name = package_name, keep_title = TRUE)
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 15. Error: gh_suggest_username (@test-gh_suggest_username.R#4)  -------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall::gh_suggest_username("yuhui")
   2. githubinstall:::get_package_list()
   3. githubinstall::gh_update_package_list()
   4. data.table::fread(...)
   5. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 16. Error: yutannihilation (@test-gh_suggest_username.R#10)  ----------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. testthat::expect_equal(gh_suggest_username("yutani"), "yutannihilation")
   4. githubinstall::gh_suggest_username("yutani")
   5. githubinstall:::get_package_list()
   6. githubinstall::gh_update_package_list()
   7. data.table::fread(...)
   8. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 17. Error: get_package_list (@test-utils.R#4)  ------------------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::get_package_list()
   2. githubinstall::gh_update_package_list()
   3. data.table::fread(...)
   4. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 18. Error: select_repository: single candidate (@test-utils_for_install.R#120
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::select_repository(package_name = package_name)
   2. githubinstall::gh_suggest(package_name, keep_title = TRUE)
   3. githubinstall:::suggest_no_fullname(...)
   4. githubinstall:::get_package_list()
   5. githubinstall::gh_update_package_list()
   6. data.table::fread(...)
   7. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  -- 19. Error: select_repository: multi candidates (@test-utils_for_install.R#130
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. githubinstall:::select_repository(package_name = package_name)
   2. githubinstall::gh_suggest(package_name, keep_title = TRUE)
   3. githubinstall:::suggest_no_fullname(...)
   4. githubinstall:::get_package_list()
   5. githubinstall::gh_update_package_list()
   6. data.table::fread(...)
   7. curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  
  == testthat results  ===========================================================
  [ OK: 25 | SKIPPED: 0 | WARNINGS: 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