- using R Under development (unstable) (2026-03-30 r89743)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-15) 15.2.0
GNU Fortran (Debian 15.2.0-15) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-03-31 13:39:44 UTC
- checking for file ‘copernicusR/DESCRIPTION’ ... OK
- this is package ‘copernicusR’ version ‘0.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 serialization versions ... OK
- checking whether package ‘copernicusR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [2s/2s] 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 ... [8s/10s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/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 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) ═══════════════════════════════════════════════════════════
• Integration tests require real Copernicus Marine connection (2):
'test-download.R:110:3', 'test-opendataset.R:116:3'
• Requires actual Python environment - integration test (1):
'test-setup.R:83:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-download.R:32:3'): copernicus_download uses stored credentials ──
<Rcpp::exception/C++Error/error/condition>
Error: /tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so - /tmp/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(...) at test-download.R:32:3
2. │ └─base::withCallingHandlers(...)
3. └─copernicusR::copernicus_download(...)
4. └─reticulate::r_to_py(as.list(variables))
5. └─reticulate:::ensure_python_initialized()
6. └─reticulate:::initialize_python()
7. └─base::tryCatch(...)
8. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. └─value[[3L]](cond)
── Error ('test-download.R:102:3'): copernicus_test with mocked download ───────
<Rcpp::exception/C++Error/error/condition>
Error: /tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so - /tmp/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()) at test-download.R:102:3
2. │ └─base::withCallingHandlers(...)
3. └─copernicusR::copernicus_test()
4. └─copernicusR::copernicus_download(...)
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)
── Error ('test-opendataset.R:100:3'): copernicus_test_open with mock ──────────
<Rcpp::exception/C++Error/error/condition>
Error: /tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so - /tmp/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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1s/2s] OK
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR