Running ‘testthat.R’ [5s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(githubinstall)
  > 
  > test_check("githubinstall",  filter = "[^(really_install)]")
  [ FAIL 19 | WARN 0 | SKIP 0 | PASS 25 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gh_install_packages.R:10:3'): Install a single package ─────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_install_packages(repo, ask = FALSE) at test-gh_install_packages.R:10:2
   2.   └─base::lapply(packages, select_repository)
   3.     └─githubinstall (local) 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)
  ── Error ('test-gh_install_packages.R:17:3'): Install two package ──────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_install_packages(repo, ask = FALSE) at test-gh_install_packages.R:17:2
   2.   └─base::lapply(packages, select_repository)
   3.     └─githubinstall (local) 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)
  ── Error ('test-gh_install_packages.R:33:3'): Install: ask yes ─────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_install_packages(repo, ask = TRUE) at test-gh_install_packages.R:33:2
   2.   └─base::lapply(packages, select_repository)
   3.     └─githubinstall (local) 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)
  ── Error ('test-gh_list_packages.R:4:3'): gh_list_packages ─────────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_list_packages(username = "hadley") at test-gh_list_packages.R:4:2
   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)
  ── Error ('test-gh_search_packages.R:4:3'): gh_search_packages ─────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_search_packages("lasso") at test-gh_search_packages.R:4:2
   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)
  ── Error ('test-gh_suggest.R:5:3'): full name ──────────────────────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_suggest(repo_name = repo, keep_title = FALSE) at test-gh_suggest.R:5:2
   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)
  ── Error ('test-gh_suggest.R:11:3'): full name: has title ──────────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_suggest(repo_name = repo, keep_title = TRUE) at test-gh_suggest.R:11:2
   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)
  ── Error ('test-gh_suggest.R:17:3'): no full name: single result ───────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_suggest(repo_name = repo, keep_title = FALSE) at test-gh_suggest.R:17:2
   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)
  ── Error ('test-gh_suggest.R:23:3'): no full name: multi result ────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_suggest(repo_name = repo, keep_title = FALSE) at test-gh_suggest.R:23:2
   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)
  ── Error ('test-gh_suggest.R:29:3'): no full name: has title ───────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_suggest(repo_name = repo, keep_title = TRUE) at test-gh_suggest.R:29:2
   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)
  ── Error ('test-gh_suggest.R:37:3'): to_candidates: no inds ────────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::to_candidates(package_name = package_name) at test-gh_suggest.R:37:2
   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)
  ── Error ('test-gh_suggest.R:43:3'): to_candidates: single result ──────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::to_candidates(package_name = package_name, keep_title = FALSE) at test-gh_suggest.R:43:2
   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)
  ── Error ('test-gh_suggest.R:49:3'): to_candidates: multi result ───────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::to_candidates(package_name = package_name, keep_title = FALSE) at test-gh_suggest.R:49:2
   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)
  ── Error ('test-gh_suggest.R:55:3'): to_candidates: has title ──────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::to_candidates(package_name = package_name, keep_title = TRUE) at test-gh_suggest.R:55:2
   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)
  ── Error ('test-gh_suggest_username.R:4:3'): gh_suggest_username ───────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall::gh_suggest_username("yuhui") at test-gh_suggest_username.R:4:2
   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)
  ── Error ('test-gh_suggest_username.R:10:3'): yutannihilation ──────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(gh_suggest_username("yutani"), "yutannihilation") at test-gh_suggest_username.R:10:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   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)
  ── Error ('test-utils.R:4:3'): get_package_list ────────────────────────────────
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::get_package_list() at test-utils.R:4:2
   2.   └─githubinstall::gh_update_package_list()
   3.     └─data.table::fread(...)
   4.       └─curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)
  ── Error ('test-utils_for_install.R:120:3'): select_repository: single candidate ──
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::select_repository(package_name = package_name) at test-utils_for_install.R:120:2
   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)
  ── Error ('test-utils_for_install.R:130:3'): select_repository: multi candidates ──
  Error in `curl::curl_download(input, tmpFile, mode = "wb", quiet = !showProgress)`: SSL peer certificate or SSH remote key was not OK: [] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─githubinstall:::select_repository(package_name = package_name) at test-utils_for_install.R:130:2
   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)
  
  [ FAIL 19 | WARN 0 | SKIP 0 | PASS 25 ]
  Error: Test failures
  Execution halted