* using log directory ‘/Users/ripley/R/packages/tests-devel/resourcecode.Rcheck’ * using R Under development (unstable) (2025-11-06 r88990) * using platform: aarch64-apple-darwin25.1.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.4.4.1) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘resourcecode/DESCRIPTION’ ... OK * this is package ‘resourcecode’ version ‘0.4.0’ * 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 * used C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.4.4.1)’ * used SDK: ‘MacOSX26.1.sdk’ * 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 ... 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 ... OK * checking Rd files ... 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 ... 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 compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘resourcecode-Ex.R’ failed The error most likely occurred in: > ### Name: compute_sea_state_1d_spectrum > ### Title: Compute sea_state parameter from wave spectrum > ### Aliases: compute_sea_state_1d_spectrum > > ### ** Examples > > rscd_params <- get_parameters( + node = "134865", + start = "1994-01-01", + end = "1994-01-31 23:00:00", + parameters = c("hs", "tp", "cge", "t01", "dp", "dir") + ) Warning in open.connection(con, "rb") : cannot open URL 'https://resourcecode-datacharts.ifremer.fr//api/timeseries?parameter=hs&node=134864&start=1994-01-01T00:00:00Z&end=1994-01-31T23:00:00Z': HTTP status was '500 Internal Server Error' Error in open.connection(con, "rb") : cannot open the connection to 'https://resourcecode-datacharts.ifremer.fr//api/timeseries?parameter=hs&node=134864&start=1994-01-01T00:00:00Z&end=1994-01-31T23:00:00Z' Calls: get_parameters ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s/12s] ERROR Error(s) in re-building vignettes: --- re-building ‘resourcecode.Rmd’ using rmarkdown Quitting from resourcecode.Rmd:115-131 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `open.connection()`: ! cannot open the connection to 'https://resourcecode-datacharts.ifremer.fr//api/timeseries?parameter=hs&node=134939&start=1994-01-01T00:00:00Z&end=1994-12-31T23:00:00Z' --- Backtrace: ▆ 1. └─resourcecode::get_parameters(...) 2. └─resourcecode:::get_parameters_raw(...) 3. └─jsonlite::fromJSON(request) 4. └─jsonlite:::parse_and_simplify(...) 5. └─jsonlite:::parseJSON(txt, bigint_as_char) 6. └─jsonlite:::parse_con(txt, bigint_as_char) 7. ├─base::open(con, "rb") 8. └─base::open.connection(con, "rb") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'resourcecode.Rmd' failed with diagnostics: cannot open the connection to 'https://resourcecode-datacharts.ifremer.fr//api/timeseries?parameter=hs&node=134939&start=1994-01-01T00:00:00Z&end=1994-12-31T23:00:00Z' --- failed re-building ‘resourcecode.Rmd’ SUMMARY: processing the following file failed: ‘resourcecode.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/resourcecode.Rcheck/00check.log’ for details. 52.39 real 46.87 user 8.23 sys