* using log directory 'd:/RCompile/CRANincoming/R-devel/Argentum.Rcheck' * using R Under development (unstable) (2024-09-21 r87186 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Argentum/DESCRIPTION' ... OK * this is package 'Argentum' version '0.5.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Thomas Artopoulos ' New submission License components with restrictions and base license permitting such: MIT + file LICENSE Possibly misspelled words in DESCRIPTION: WFS (6:75) WMS (2:26) The Description field should not start with the package name, 'This package' or similar. * 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 serialization versions ... OK * checking whether package 'Argentum' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Invalid license file pointers: LICENSE * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING '::' or ':::' import not declared from: 'readr' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE argentum_select_organization: no visible global function definition for 'menu' Undefined global functions or variables: menu Consider adding importFrom("utils", "menu") to your NAMESPACE file. * checking Rd files ... 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 examples ... NONE * checking for unstated dependencies in 'tests' ... WARNING '::' or ':::' import not declared from: 'mockery' * checking tests ... ERROR Running 'testthat.R' 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(Argentum) > > test_check("Argentum") Requesting capabilities from: http://example.com/wms?service=WMS&request=GetCapabilities Attempt 1 failed. Retrying... Attempt 2 failed. Retrying... [ FAIL 25 | WARN 0 | SKIP 0 | PASS 4 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_argentum_get_capabilities.R:32:3'): argentum_get_capabilities works correctly ── Error in `value[[3L]](cond)`: Failed to retrieve capabilities after 3 attempts: Internal Server Error (HTTP 500). Backtrace: ▆ 1. └─Argentum::argentum_get_capabilities(url) at test_argentum_get_capabilities.R:32:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test_argentum_import_wfs_layer.R:4:3'): argentum_import_wfs_layer constructs correct URL ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_import_wfs_layer.R:4:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_import_wfs_layer.R:13:3'): argentum_import_wfs_layer handles URL with existing parameters ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_import_wfs_layer.R:13:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_import_wfs_layer.R:22:3'): argentum_import_wfs_layer handles errors ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_import_wfs_layer.R:22:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_interactive_import.R:8:3'): argentum_interactive_import handles successful import ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_interactive_import.R:8:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_interactive_import.R:20:3'): argentum_interactive_import handles invalid organization selection ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_interactive_import.R:20:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_interactive_import.R:30:3'): argentum_interactive_import handles no layers ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_interactive_import.R:30:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_interactive_import.R:41:3'): argentum_interactive_import handles invalid layer selection ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_interactive_import.R:41:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_layers.R:5:3'): argentum_list_layers handles valid input ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_layers.R:5:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_layers.R:18:3'): argentum_list_layers handles WMS URL ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_layers.R:18:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_layers.R:27:3'): argentum_list_layers handles invalid organization ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_layers.R:27:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_layers.R:33:3'): argentum_list_layers handles empty layer list ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_layers.R:33:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_organizations.R:5:3'): argentum_list_organizations returns correct structure ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_organizations.R:5:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_organizations.R:15:3'): argentum_list_organizations handles empty WFS_URL ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_organizations.R:15:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_organizations.R:23:3'): argentum_list_organizations cleans URLs ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_organizations.R:23:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_list_organizations.R:32:3'): argentum_list_organizations handles all sources failing ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_list_organizations.R:32:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_select_organization.R:11:3'): argentum_select_organization returns correct organization ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_select_organization.R:11:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_select_organization.R:26:3'): argentum_select_organization handles search ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_select_organization.R:26:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_select_organization.R:41:3'): argentum_select_organization handles no selection ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_select_organization.R:41:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_argentum_select_organization.R:55:3'): argentum_select_organization handles no matching organizations ── Error in `loadNamespace(x)`: there is no package called 'mockery' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_argentum_select_organization.R:55:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Failure ('test_clean_url.R:10:3'): clean_url works correctly ──────────────── clean_url("https://example.com [WMS]") (`actual`) not equal to "https://example.com" (`expected`). `actual`: "https://example.com [WMS]" `expected`: "https://example.com" ── Failure ('test_clean_url.R:12:3'): clean_url works correctly ──────────────── clean_url("example.com") (`actual`) not equal to "http://example.com" (`expected`). `actual`: "example.com" `expected`: "http://example.com" ── Failure ('test_clean_url.R:13:3'): clean_url works correctly ──────────────── clean_url("example.com [WFS]") (`actual`) not equal to "http://example.com" (`expected`). `actual`: "example.com [WFS]" `expected`: "http://example.com" ── Failure ('test_clean_url.R:17:3'): clean_url works correctly ──────────────── clean_url("[WMS]example.com") (`actual`) not equal to "http://example.com" (`expected`). `actual`: "[WMS]example.com" `expected`: "http://example.com" ── Failure ('test_clean_url.R:18:3'): clean_url works correctly ──────────────── clean_url("[WFS] http://example.com") (`actual`) not equal to "http://example.com" (`expected`). `actual`: "[WFS] http://example.com" `expected`: "http://example.com" [ FAIL 25 | WARN 0 | SKIP 0 | PASS 4 ] Error: Test failures Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 2 NOTEs