Skip to content

copernicusR

R Interface to Copernicus Marine Service

v0.1.0 · Jul 9, 2025 · MIT + file LICENSE

Description

Provides an R interface to the Copernicus Marine Service for downloading and accessing marine data. Integrates with the official 'copernicusmarine' Python library through 'reticulate'. Requires Python 3.7+ and a free Copernicus Marine account. See <https://marine.copernicus.eu/> and <https://pypi.org/project/copernicusmarine/> for more information.

Downloads

208

Last 30 days

21861st

540

Last 90 days

1.6K

Last year

Trend: +5.6% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 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 ERROR
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-patched-linux-x86_64

tests

Running ‘testthat.R’ [4s/6s]
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(copernicusR)
  copernicusR loaded. To get started:
  1. Ensure Python 3.7+ is installed
  2. Run setup_copernicus() to configure
  3. Get free account at: https://data.marine.copernicus.eu/register
  Use copernicus_is_ready() to check configuration.
  > 
  > test_check("copernicusR")
  Saving _problems/test-download-38.R
  Saving _problems/test-download-102.R
  Saving _problems/test-opendataset-100.R
  [ FAIL 3 | WARN 0 | SKIP 3 | PASS 55 ]
  
  ══ Skipped tests (3) ═════════════════════════════════
...[truncated]...
3-linux-x86_64-gnu/lib/libpython3.12.so - /home/hornik/tmp/scratch/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so: cannot enable executable stack as shared object requires: Invalid argument
  Backtrace:
       ▆
    1. ├─base::suppressMessages(copernicus_test_open()) at test-opendataset.R:100:3
    2. │ └─base::withCallingHandlers(...)
    3. └─copernicusR::copernicus_test_open()
    4.   └─copernicusR::copernicus_open_dataset(...)
    5.     └─reticulate::r_to_py(as.list(variables))
    6.       └─reticulate:::ensure_python_initialized()
    7.         └─reticulate:::initialize_python()
    8.           └─base::tryCatch(...)
    9.             └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.               └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.                 └─value[[3L]](cond)
  
  [ FAIL 3 | WARN 0 | SKIP 3 | PASS 55 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [3s/5s]
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 te
...[truncated]...
lasses, parentenv, handlers)
   10.               └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.                 └─value[[3L]](cond)
  
  [ FAIL 3 | WARN 0 | SKIP 3 | PASS 55 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies reticulate copernicusR

Version History

new 0.1.0 Mar 10, 2026