* using log directory 'd:/Rcompile/CRANpkg/local/4.4/CopernicusMarine.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'CopernicusMarine/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'CopernicusMarine' version '0.2.5' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'CopernicusMarine' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [4s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 examples ... [4s] ERROR Running examples in 'CopernicusMarine-Ex.R' failed The error most likely occurred in: > ### Name: cms_product_services > ### Title: Obtain available services for a specific Copernicus marine > ### product > ### Aliases: cms_product_services > > ### ** Examples > > cms_product_services("GLOBAL_ANALYSISFORECAST_PHY_001_024") Warning in xml_find_all.xml_node(result, "//gmd:CI_OnlineResource") : Undefined namespace prefix [1219] Error in `dplyr::mutate()`: ℹ In argument: `ext = stringr::str_extract(unlist(.data$linkage), "(?<=--ext--)(.*)(?=/)")`. Caused by error in `.data$linkage`: ! Column `linkage` not found in `.data`. Backtrace: ▆ 1. ├─CopernicusMarine::cms_product_services("GLOBAL_ANALYSISFORECAST_PHY_001_024") 2. │ ├─tidyr::pivot_wider(...) 3. │ ├─dplyr::filter(...) 4. │ ├─dplyr::rename(...) 5. │ ├─dplyr::select(...) 6. │ ├─dplyr::mutate(...) 7. │ ├─dplyr::mutate(...) 8. │ └─dplyr:::mutate.data.frame(...) 9. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 10. │ ├─base::withCallingHandlers(...) 11. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 12. │ └─mask$eval_all_mutate(quo) 13. │ └─dplyr (local) eval() 14. ├─stringr::str_extract(unlist(.data$linkage), "(?<=--ext--)(.*)(?=/)") 15. │ └─stringr:::check_lengths(string, pattern) 16. │ └─vctrs::vec_size_common(...) 17. ├─base::unlist(.data$linkage) 18. ├─linkage 19. ├─rlang:::`$.rlang_data_pronoun`(.data, linkage) 20. │ └─rlang:::data_pronoun_get(...) 21. └─rlang:::abort_data_pronoun(x, call = y) 22. └─rlang::abort(msg, "rlang_error_data_pronoun_not_found", call = call) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] OK Running 'testthat.R' [2s] * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR