- using R version 4.6.0 (2026-04-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-1) 16.1.0
GNU Fortran (Debian 16.1.0-1) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-06-06 18:24:41 UTC
- checking for file ‘resourcecode/DESCRIPTION’ ... OK
- this is package ‘resourcecode’ version ‘0.5.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 ‘resourcecode’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-16 (Debian 16.1.0-1) 16.1.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/2s] 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 ... [12s/17s] OK
- checking Rd files ... [0s/1s] 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/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [7s/160s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
get_parameters 0.402 0.069 30.501
get_1d_spectrum 0.202 0.015 60.244
get_2d_spectrum 0.137 0.035 60.222
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [32s/130s] ERROR
Running ‘testthat.R’ [32s/130s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(resourcecode)
>
> test_check("resourcecode")
Starting 2 test processes.
> test-spectral_data_download.R: Failed to download data for SEMREVO (1994-01)
> test-spectral_data_download.R: Failed to download data for SEMREVO (1994-01)
> tests_download_parameters.R: Network error: Could not connect to the remote resource. The server may be unavailable.
> tests_download_parameters.R: Failed to retrieve parameter: hs
Saving _problems/tests_download_parameters-65.R
Saving _problems/tests_download_parameters-66.R
> test-spectral_data_download.R: Download failed: Failed to perform HTTP request.
> test-spectral_data_download.R: Caused by error in `curl::curl_fetch_disk()`:
> test-spectral_data_download.R: ! Timeout was reached [data-dataref.ifremer.fr]:
> test-spectral_data_download.R: Operation timed out after 60001 milliseconds with 0 bytes received
> test-spectral_data_download.R: Could not download spectral data.
> test-spectral_data_download.R: The remote server may be unavailable or the URL may have changed.
> test-spectral_data_download.R: Failed to download data for SEMREVO (1994-01)
> test-spectral_data_download.R: Download failed: Failed to perform HTTP request.
> test-spectral_data_download.R: Caused by error in `curl::curl_fetch_disk()`:
> test-spectral_data_download.R: ! Timeout was reached [data-dataref.ifremer.fr]:
> test-spectral_data_download.R: Operation timed out after 60002 milliseconds with 0 bytes received
> test-spectral_data_download.R: Could not download spectral data.
> test-spectral_data_download.R: The remote server may be unavailable or the URL may have changed.
> test-spectral_data_download.R: Failed to download data for SEMREVO (1994-01)
[ FAIL 2 | WARN 1 | SKIP 11 | PASS 236 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test-spectral_data_download.R:3:3',
'test-spectral_data_download.R:36:3', 'test-spectral_data_download.R:58:3',
'test-spectral_data_download.R:72:3', 'test-spectral_data_download.R:89:3',
'test-spectral_data_download.R:104:3', 'test-spectral_data_download.R:137:3',
'test-spectral_data_download.R:230:3', 'test-spectral_data_download.R:260:3',
'test-spectral_data_download.R:281:3', 'test-spectral_data_download.R:298:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('tests_download_parameters.R:65:3'): get_parameters handles Date format as input ──
Expected `result` to be an S3 object.
Actual OO type: none.
── Failure ('tests_download_parameters.R:66:3'): get_parameters handles Date format as input ──
Expected `nrow(result) > 1` to be TRUE.
Differences:
`actual`:
`expected`: TRUE
[ FAIL 2 | WARN 1 | SKIP 11 | PASS 236 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [16s/47s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [2s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR