* using log directory 'd:/Rcompile/CRANpkg/local/4.6/resourcecode.Rcheck' * using R version 4.6.0 (2026-04-24 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-06-06 13:45:08 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'resourcecode' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [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 ... [6s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [159s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [129s] ERROR Running 'testthat.R' [129s] 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 60009 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 60017 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 ... [82s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 1 ERROR