- using R Under development (unstable) (2025-08-11 r88569)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘GitStats/DESCRIPTION’ ... OK
- this is package ‘GitStats’ version ‘2.3.4’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘GitStats’ can be installed ... [35s/46s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s/19s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [38s/63s] ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [37s/62s]
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 115 | PASS 766 ]
══ Skipped tests (115) ═════════════════════════════════════════════════════════
• 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'
• Sys.getenv("GITHUB_PAT") == "" is TRUE (3): 'test-00-api-requests.R:29:3',
'test-00-api-requests.R:51:3', 'test-00-api-requests.R:63: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: 2.
Caused by error in `httr2::req_perform()`:
! HTTP 404 Not Found.
[ FAIL 1 | WARN 0 | SKIP 115 | PASS 766 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [20s/27s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR