Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [14s/37s]
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 112 | PASS 768 ]
  
  ══ Skipped tests (112) ═════════════════════════════════════════════════════════
  • On CRAN (102): 'test-00-get_orgs-GitHub.R:6:3',
    'test-00-get_orgs-GitHub.R:14:3', 'test-00-get_orgs-GitHub.R:52:3',
    'test-00-get_orgs-GitHub.R:90: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:112:3',
    'test-00-get_orgs-GitLab.R:161:3', 'test-00-get_orgs-GitLab.R:222:3',
    'test-00-get_orgs-GitLab.R:242:3', 'test-00-get_orgs-GitLab.R:275:3',
    'test-00-get_orgs-GitLab.R:306:3', 'test-00-get_orgs-GitLab.R:345:3',
    'test-00-get_orgs-GitLab.R:445:3', 'test-00-get_orgs-GitLab.R:454: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:293:3', 'test-01-get_repos-GitHub.R:317:3',
    'test-01-get_repos-GitHub.R:344:3', 'test-01-get_repos-GitHub.R:360:3',
    'test-01-get_repos-GitHub.R:475:3', 'test-01-get_repos-GitHub.R:596:3',
    'test-01-get_repos-GitLab.R:4:3', 'test-01-get_repos-GitLab.R:13:3',
    'test-01-get_repos-GitLab.R:195:3', 'test-01-get_repos-GitLab.R:327:3',
    'test-01-get_repos-GitLab.R:349:3', 'test-01-get_repos-GitLab.R:367:3',
    'test-01-get_repos-GitLab.R:396:3', 'test-01-get_repos-GitLab.R:464:3',
    'test-01-get_repos-GitLab.R:491:3', 'test-01-get_repos-GitStats.R:147:3',
    'test-01-get_repos-GitStats.R:178:3', 'test-02-get_commits-GitHub.R:4:3',
    'test-02-get_commits-GitHub.R:15:3', 'test-02-get_commits-GitHub.R:65: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:126:3', 'test-helpers.R:157:3',
    'test-helpers.R:167:3', 'test-helpers.R:177:3', 'test-helpers.R:191: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'
  • empty test (10): 'test-00-api-requests.R:40:1',
    'test-06-get_issues-GitHub.R:30: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-api-requests.R:3:3'): `perform_request()` returns proper status when token is empty or invalid ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ..., .progress = .progress)`: i In index: 1.
  Caused by error in `httr2::req_perform()`:
  ! HTTP 404 Not Found.
  
  [ FAIL 1 | WARN 0 | SKIP 112 | PASS 768 ]
  Error: Test failures
  Execution halted