CRAN Package Check Results for Package resourcecode

Last updated on 2026-02-04 08:50:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.2 30.90 114.31 145.21 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.2 18.48 84.15 102.63 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.2 72.00 188.17 260.17 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.2 56.00 191.95 247.95 ERROR
r-devel-windows-x86_64 0.5.2 37.00 217.00 254.00 OK
r-patched-linux-x86_64 0.5.2 28.29 117.41 145.70 OK
r-release-linux-x86_64 0.5.2 28.97 119.95 148.92 OK
r-release-macos-arm64 0.5.2 6.00 78.00 84.00 OK
r-release-macos-x86_64 0.5.2 19.00 185.00 204.00 OK
r-release-windows-x86_64 0.5.2 36.00 189.00 225.00 OK
r-oldrel-macos-arm64 0.5.2 5.00 88.00 93.00 OK
r-oldrel-macos-x86_64 0.5.2 20.00 284.00 304.00 OK
r-oldrel-windows-x86_64 0.5.2 45.00 218.00 263.00 OK

Check Details

Version: 0.5.2
Check: examples
Result: ERROR Running examples in ‘resourcecode-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_parameters > ### Title: Download time series of sea-state parameters from RESOURCECODE > ### database > ### Aliases: get_parameters > > ### ** Examples > > ## Don't show: > if (curl::has_internet()) withAutoprint({ # examplesIf + ## End(Don't show) + ts <- get_parameters(parameters = c("hs", "tp"), node = 42) + plot(ts$time, ts$hs, type = "l") + ## Don't show: + }) # examplesIf > ts <- get_parameters(parameters = c("hs", "tp"), node = 42) Warning in open.connection(con, "rb") : cannot open URL 'https://resourcecode-datacharts.ifremer.fr/api/timeseries?parameter=hs&node=41&start=1994-01-01T00:00:00Z&end=1994-12-31T23:00:00Z': HTTP status was '404 Not Found' Could not retrieve data from the remote resource. The server may be unavailable or the URL may have changed. Warning in open.connection(con, "rb") : URL 'https://resourcecode-datacharts.ifremer.fr/api/timeseries?parameter=fp&node=41&start=1994-01-01T00:00:00Z&end=1994-12-31T23:00:00Z': Timeout of 60 seconds was reached Could not retrieve data from the remote resource. The server may be unavailable or the URL may have changed. > plot(ts$time, ts$hs, type = "l") Warning in min(x) : no non-missing arguments to min; returning Inf Warning in max(x) : no non-missing arguments to max; returning -Inf Warning in min(x) : no non-missing arguments to min; returning Inf Warning in max(x) : no non-missing arguments to max; returning -Inf Error in plot.window(...) : need finite 'xlim' values Calls: withAutoprint ... eval -> plot -> plot.default -> localWindow -> plot.window Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed compute_sea_state_1d_spectrum 0.704 0.03 120.766 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.5.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘resourcecode.Rmd’ using rmarkdown Quitting from resourcecode.Rmd:115-131 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'pivot_longer' applied to an object of class "NULL" --- Backtrace: ▆ 1. ├─ggplot2::ggplot(...) 2. └─tidyr::pivot_longer(ts, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'resourcecode.Rmd' failed with diagnostics: no applicable method for 'pivot_longer' applied to an object of class "NULL" --- failed re-building ‘resourcecode.Rmd’ SUMMARY: processing the following file failed: ‘resourcecode.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.2
Check: examples
Result: ERROR Running examples in ‘resourcecode-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_1d_spectrum > ### Title: Download the 1D spectrum data from IFREMER ftp > ### Aliases: get_1d_spectrum > > ### ** Examples > > ## Don't show: > if (curl::has_internet()) withAutoprint({ # examplesIf + ## End(Don't show) + spec1D <- get_1d_spectrum("SEMREVO", start = "1994-01-01", end = "1994-02-28") + r <- as.POSIXct(round(range(spec1D$forcings$time), "month")) + image(spec1D$forcings$time, spec1D$freq, t(spec1D$ef), + xaxt = "n", xlab = "Time", + ylab = "Frequency (Hz)" + ) + axis.POSIXct(1, spec1D$forcings$time, + at = seq(r[1], r[2], by = "week"), + format = "%Y-%m-%d", las = 2 + ) + ## Don't show: + }) # examplesIf > spec1D <- get_1d_spectrum("SEMREVO", start = "1994-01-01", end = "1994-02-28") Could not download spectral data. The remote server may be unavailable or the URL may have changed. Could not download spectral data. The remote server may be unavailable or the URL may have changed. Could not download spectral data. The remote server may be unavailable or the URL may have changed. Could not download spectral data. The remote server may be unavailable or the URL may have changed. > r <- as.POSIXct(round(range(spec1D$forcings$time), "month")) Warning in min(x, na.rm = na.rm) : no non-missing arguments to min; returning Inf Warning in max(x, na.rm = na.rm) : no non-missing arguments to max; returning -Inf Error in round(range(spec1D$forcings$time), "month") : non-numeric argument to mathematical function Calls: withAutoprint ... source -> withVisible -> eval -> eval -> as.POSIXct Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.2
Check: examples
Result: ERROR Running examples in ‘resourcecode-Ex.R’ failed The error most likely occurred in: > ### Name: get_parameters > ### Title: Download time series of sea-state parameters from RESOURCECODE > ### database > ### Aliases: get_parameters > > ### ** Examples > > ## Don't show: > if (curl::has_internet()) withAutoprint({ # examplesIf + ## End(Don't show) + ts <- get_parameters(parameters = c("hs", "tp"), node = 42) + plot(ts$time, ts$hs, type = "l") + ## Don't show: + }) # examplesIf > ts <- get_parameters(parameters = c("hs", "tp"), node = 42) Warning in open.connection(con, "rb") : cannot open URL 'https://resourcecode-datacharts.ifremer.fr/api/timeseries?parameter=hs&node=41&start=1994-01-01T00:00:00Z&end=1994-12-31T23:00:00Z': HTTP status was '404 Not Found' Could not retrieve data from the remote resource. The server may be unavailable or the URL may have changed. Warning in open.connection(con, "rb") : cannot open URL 'https://resourcecode-datacharts.ifremer.fr/api/timeseries?parameter=fp&node=41&start=1994-01-01T00:00:00Z&end=1994-12-31T23:00:00Z': HTTP status was '404 Not Found' Could not retrieve data from the remote resource. The server may be unavailable or the URL may have changed. > plot(ts$time, ts$hs, type = "l") Warning in min(x) : no non-missing arguments to min; returning Inf Warning in max(x) : no non-missing arguments to max; returning -Inf Warning in min(x) : no non-missing arguments to min; returning Inf Warning in max(x) : no non-missing arguments to max; returning -Inf Error in plot.window(...) : need finite 'xlim' values Calls: withAutoprint ... eval -> plot -> plot.default -> localWindow -> plot.window Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.5.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘resourcecode.Rmd’ using rmarkdown Quitting from resourcecode.Rmd:115-131 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'pivot_longer' applied to an object of class "NULL" --- Backtrace: ▆ 1. ├─ggplot2::ggplot(...) 2. └─tidyr::pivot_longer(ts, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'resourcecode.Rmd' failed with diagnostics: no applicable method for 'pivot_longer' applied to an object of class "NULL" --- failed re-building ‘resourcecode.Rmd’ SUMMARY: processing the following file failed: ‘resourcecode.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc