CRAN Package Check Results for Package resourcecode

Last updated on 2025-12-28 05:50:01 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.1 28.62 136.89 165.51 OK
r-devel-linux-x86_64-debian-gcc 0.5.1 17.50 95.69 113.19 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.1 36.00 114.62 150.62 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.1 33.00 144.51 177.51 ERROR
r-devel-windows-x86_64 0.5.1 35.00 175.00 210.00 ERROR
r-patched-linux-x86_64 0.5.1 27.00 129.14 156.14 OK
r-release-linux-x86_64 0.5.1 25.59 129.69 155.28 OK
r-release-macos-arm64 0.5.1 5.00 87.00 92.00 OK
r-release-macos-x86_64 0.5.1 19.00 203.00 222.00 OK
r-release-windows-x86_64 0.5.1 35.00 187.00 222.00 OK
r-oldrel-macos-arm64 0.5.1 5.00 81.00 86.00 OK
r-oldrel-macos-x86_64 0.5.1 19.00 194.00 213.00 OK
r-oldrel-windows-x86_64 0.5.1 45.00 242.00 287.00 OK

Check Details

Version: 0.5.1
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. Error in ncdf4::nc_open(file) : Passed a filename that is NOT a string of characters! Calls: withAutoprint ... get_1d_spectrum -> get_1d_spectrum_raw -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘resourcecode.Rmd’ using rmarkdown Quitting from resourcecode.Rmd:141-144 [unnamed-chunk-10] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `ncdf4::nc_open()`: ! Passed a filename that is NOT a string of characters! --- Backtrace: ▆ 1. └─resourcecode::get_1d_spectrum(...) 2. └─resourcecode:::get_1d_spectrum_raw(point, years[1], months[1]) 3. └─ncdf4::nc_open(file) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'resourcecode.Rmd' failed with diagnostics: Passed a filename that is NOT a string of characters! --- failed re-building ‘resourcecode.Rmd’ SUMMARY: processing the following file failed: ‘resourcecode.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.1
Check: examples
Result: ERROR Running examples in ‘resourcecode-Ex.R’ failed The error most likely occurred in: > ### 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. Error in ncdf4::nc_open(file) : Passed a filename that is NOT a string of characters! Calls: withAutoprint ... get_1d_spectrum -> get_1d_spectrum_raw -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.5.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘resourcecode.Rmd’ using rmarkdown Quitting from resourcecode.Rmd:141-144 [unnamed-chunk-10] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `ncdf4::nc_open()`: ! Passed a filename that is NOT a string of characters! --- Backtrace: ▆ 1. └─resourcecode::get_1d_spectrum(...) 2. └─resourcecode:::get_1d_spectrum_raw(point, years[1], months[1]) 3. └─ncdf4::nc_open(file) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'resourcecode.Rmd' failed with diagnostics: Passed a filename that is NOT a string of characters! --- 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, r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.