- using R Under development (unstable) (2025-03-28 r88067)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘SLOS/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘SLOS’ version ‘1.0.1’
- 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 ‘SLOS’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/3s] OK
- checking whether the package can be unloaded cleanly ... [3s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [3s/3s] 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 ... [13s/16s] OK
- checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [3s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [1m/39m] ERROR
Running ‘testthat.R’ [1m/39m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(SLOS)
>
> test_check("SLOS")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-Evaluation.R:5:3'): SLOS generates expected outputs ────────────
<curl_error_http2_stream/curl_error/error/condition>
Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Stream error in the HTTP/2 framing layer [objects.githubusercontent.com]: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
Backtrace:
▆
1. ├─base::suppressWarnings(SLOS::SLOS(mock_data)) at test-Evaluation.R:5:3
2. │ └─base::withCallingHandlers(...)
3. ├─SLOS::SLOS(mock_data)
4. │ └─SLOS::predict_and_evaluate(data)
5. │ └─SLOS::load_SLOSModel()
6. │ └─httr::GET(url, write_disk(temp_file, overwrite = TRUE))
7. │ └─httr:::request_perform(req, hu$handle$handle)
8. │ ├─httr:::request_fetch(req$output, req$url, handle)
9. │ └─httr:::request_fetch.write_disk(req$output, req$url, handle)
10. │ └─curl::curl_fetch_disk(url, x$path, handle = handle)
11. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [3s/4s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR