Running 'spelling.R' [0s]
  Running 'testthat.R' [60s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(GitStats)
  > 
  > test_check("GitStats")
  
  .........
  [ FAIL 1 | WARN 0 | SKIP 116 | PASS 794 ]
  
  ══ Skipped tests (116) ═════════════════════════════════════════════════════════
  • On CRAN (102): 'test-00-api-requests.R:2:3', 'test-00-api-requests.R:32:3',
    'test-00-get_orgs-GitHub.R:6:3', 'test-00-get_orgs-GitHub.R:14:3',
    'test-00-get_orgs-GitHub.R:71:3', 'test-00-get_orgs-GitHub.R:109:3',
    'test-00-get_orgs-GitLab.R:4:3', 'test-00-get_orgs-GitLab.R:12:3',
    'test-00-get_orgs-GitLab.R:40:3', 'test-00-get_orgs-GitLab.R:80:3',
    'test-00-get_orgs-GitLab.R:114:3', 'test-00-get_orgs-GitLab.R:159:3',
    'test-00-get_orgs-GitLab.R:212:3', 'test-00-get_orgs-GitLab.R:265:3',
    'test-00-get_orgs-GitLab.R:296:3', 'test-00-get_orgs-GitLab.R:335:3',
    'test-00-get_orgs-GitLab.R:435:3', 'test-00-get_orgs-GitLab.R:444:3',
    'test-00-get_orgs-GitStats.R:61:3', 'test-01-get_repos-GitHub.R:4:3',
    'test-01-get_repos-GitHub.R:13:3', 'test-01-get_repos-GitHub.R:22:3',
    'test-01-get_repos-GitHub.R:297:3', 'test-01-get_repos-GitHub.R:339:3',
    'test-01-get_repos-GitHub.R:364:3', 'test-01-get_repos-GitHub.R:391:3',
    'test-01-get_repos-GitHub.R:506:3', 'test-01-get_repos-GitHub.R:627:3',
    'test-01-get_repos-GitLab.R:4:3', 'test-01-get_repos-GitLab.R:13:3',
    'test-01-get_repos-GitLab.R:151:3', 'test-01-get_repos-GitLab.R:284:3',
    'test-01-get_repos-GitLab.R:306:3', 'test-01-get_repos-GitLab.R:324:3',
    'test-01-get_repos-GitLab.R:353:3', 'test-01-get_repos-GitLab.R:421:3',
    'test-01-get_repos-GitLab.R:448:3', 'test-01-get_repos-GitStats.R:145:3',
    'test-01-get_repos-GitStats.R:176:3', 'test-02-get_commits-GitHub.R:4:3',
    'test-02-get_commits-GitLab.R:147:3', 'test-02-get_commits-GitLab.R:180:3',
    'test-02-get_commits-GitStats.R:65:3',
    'test-02-get_commits-GitStats.R:101:3',
    'test-02-get_commits-GitStats.R:115:3',
    'test-03-get_files_structure-GitHub.R:4:3',
    'test-03-get_files_structure-GitHub.R:235:3',
    'test-03-get_files_structure-GitHub.R:295:3',
    'test-03-get_files_structure-GitHub.R:334:3',
    'test-03-get_files_structure-GitLab.R:4:3',
    'test-03-get_repos_trees-GitStats.R:37:3',
    'test-03-get_repos_trees-GitStats.R:54:3',
    'test-04-get_files_content-GitHub.R:4:3',
    'test-04-get_files_content-GitHub.R:102:3',
    'test-04-get_files_content-GitLab.R:4:3',
    'test-04-get_files_content-GitLab.R:147:3',
    'test-04-get_files_content-GitLab.R:214:3', 'test-05-get_files.R:89:3',
    'test-05-get_files.R:104:3', 'test-06-get_issues-GitHub.R:4:3',
    'test-06-get_issues-GitLab.R:4:3', 'test-06-get_issues-GitStats.R:66:3',
    'test-06-get_issues-GitStats.R:103:3', 'test-get_commits_stats.R:29:3',
    'test-get_issues_stats.R:29:3', 'test-get_release-GitHub.R:4:3',
    'test-get_release-GitLab.R:4:3', 'test-get_release-GitLab.R:87:3',
    'test-get_release-GitLab.R:108:3', 'test-get_release-GitStats.R:38:3',
    'test-get_release-GitStats.R:70:3', 'test-get_urls_repos-GitHub.R:62:3',
    'test-get_urls_repos-GitHub.R:91:3', 'test-get_urls_repos-GitHub.R:115:3',
    'test-get_urls_repos-GitStats.R:131:3', 'test-get_user-GitHub.R:4:3',
    'test-get_user-GitLab.R:4:3', 'test-get_users-GitStats.R:53:3',
    'test-helpers.R:2:3', 'test-helpers.R:12:3', 'test-helpers.R:48:3',
    'test-helpers.R:56:3', 'test-helpers.R:62:3', 'test-helpers.R:80:3',
    'test-helpers.R:100:3', 'test-helpers.R:117:3', 'test-helpers.R:143:3',
    'test-helpers.R:173:3', 'test-helpers.R:183:3', 'test-helpers.R:193:3',
    'test-helpers.R:207:3', 'test-set_host.R:22:3', 'test-set_host.R:81:3',
    'test-set_host.R:181:3', 'test-z-GitStats.R:8:3', 'test-z-GitStats.R:13:3',
    'test-z-GitStats.R:17:3', 'test-z-GitStats.R:35:3', 'test-z-GitStats.R:41:3',
    'test-z-GitStats.R:89:3', 'test-z-GitStats.R:118:3',
    'test-z-GitStats.R:133:3'
  • Sys.getenv("GITHUB_PAT") == "" is TRUE (4): 'test-00-api-requests.R:47:3',
    'test-00-api-requests.R:70:3', 'test-00-api-requests.R:82:3',
    'test-00-api-requests.R:99:3'
  • empty test (10): 'test-00-api-requests.R:59:1',
    'test-06-get_issues-GitHub.R:49:1', 'test-set_host.R:3:1',
    'test-set_host.R:33:1', 'test-set_host.R:46:1', 'test-set_host.R:63:1',
    'test-set_host.R:92:1', 'test-set_host.R:114:1', 'test-set_host.R:132:1',
    'test-set_host.R:166:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-00-get_orgs-GitLab.R:232:3'): REST method prints message ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(1:iterations_number, function(page) {
      self$response(endpoint = paste0(private$endpoints[["organizations"]], 
          "?all_available=true", "&pagination=keyset", "&per_page=100&page=", 
          page), verbose = verbose)
  }, .progress = progress)`: i In index: 2.
  Caused by error in `httr2::req_perform()`:
  ! Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Stream error in the HTTP/2 framing layer [gitlab.com]:
  HTTP/2 stream 9 was not closed cleanly: INTERNAL_ERROR (err 2)
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-00-get_orgs-GitLab.R:232:3
   2.   └─rlang::cnd_signal(state$error)
  
  [ FAIL 1 | WARN 0 | SKIP 116 | PASS 794 ]
  Error: Test failures
  Execution halted