Last updated on 2025-07-22 01:49:51 CEST.
Package | ERROR | OK |
---|---|---|
copernicusR | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
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")
Error in python_config_impl(python) :
Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpOEXRxh/bin/python': No such file.
Error in python_config_impl(python) :
Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpadgBS6/bin/python': No such file.
Error in python_config_impl(python) :
Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpLd7WFG/bin/python': No such file.
[ FAIL 3 | WARN 3 | 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 ──
Error: Installation of Python not found, Python bindings not loaded.
See the Python "Order of Discovery" here: https://rstudio.github.io/reticulate/articles/versions.html#order-of-discovery.
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. └─reticulate (local) python_not_found("Installation of Python not found, Python bindings not loaded.")
── Error ('test-download.R:102:3'): copernicus_test with mocked download ───────
Error: Installation of Python not found, Python bindings not loaded.
See the Python "Order of Discovery" here: https://rstudio.github.io/reticulate/articles/versions.html#order-of-discovery.
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. └─reticulate (local) python_not_found("Installation of Python not found, Python bindings not loaded.")
── Error ('test-opendataset.R:100:3'): copernicus_test_open with mock ──────────
Error: Installation of Python not found, Python bindings not loaded.
See the Python "Order of Discovery" here: https://rstudio.github.io/reticulate/articles/versions.html#order-of-discovery.
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. └─reticulate (local) python_not_found("Installation of Python not found, Python bindings not loaded.")
[ FAIL 3 | WARN 3 | SKIP 3 | PASS 55 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc