- using R version 4.5.1 (2025-06-13 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'GitStats/DESCRIPTION' ... OK
- this is package 'GitStats' version '2.3.6'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'GitStats' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] 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 ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [3s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [54s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [53s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR