resourcecode
Access to the 'RESOURCECODE' Hindcast Database
v0.5.4
·
May 7, 2026
·
GPL (>= 3)
Description
Utility functions to download data from the 'RESOURCECODE' hindcast database of sea-states, time series of sea-state parameters and time series of 1D and 2D wave spectra. See <https://resourcecode.ifremer.fr> for more details about the available data. Also provides facilities to plot and analyse downloaded data, such as computing the sea-state parameters from both the 1D and 2D surface elevation variance spectral density.
Downloads
256
Last 30 days
10967th
749
Last 90 days
3.2K
Last year
Trend: +20.2% (30d vs prior 30d)
CRAN Check Status
1
ERROR
12
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | ERROR |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘testthat.R’ [24s/42s]
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
...[truncated]...
═══
• 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
Check History
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Jun 4, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘testthat.R’ [24s/42s] 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 ...[truncated]... rs.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
ERROR
r-release-windows-x86_64
tests
Running 'testthat.R' [46s] 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 ...[truncated]... rs.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
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 3, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 30, 2026
ERROR
r-devel-linux-x86_64-debian-clang
tests
Running ‘testthat.R’ [33s/51s] 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 ...[truncated]... rs.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
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 28, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 21, 2026
ERROR
r-patched-linux-x86_64
tests
Running ‘testthat.R’ [33s/48s] 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 ...[truncated]... rs.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
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 20, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 16, 2026
ERROR
r-devel-linux-x86_64-debian-clang
tests
Running ‘testthat.R’ [32s/50s] 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 ...[truncated]... rs.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
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR
r-devel-windows-x86_64
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/resourcecode.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Dependency Network
Version History
new
0.5.3
Mar 10, 2026
new
0.2.1
Dec 2, 2024