* using log directory 'd:/RCompile/CRANincoming/R-devel/arcgislayers.Rcheck' * using R Under development (unstable) (2026-03-02 r89513 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-03-03 22:51:56 UTC * checking for file 'arcgislayers/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'arcgislayers' version '0.6.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'arcgislayers' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: 'llms.txt' * 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 whether startup messages can be suppressed ... 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 ... OK * 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 ... OK * checking for unstated dependencies in 'tests' ... OK * 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > library(testthat) > library(arcgislayers) > > test_check("arcgislayers") Saving _problems/test-empty-services-4.R [ FAIL 1 | WARN 0 | SKIP 98 | PASS 2 ] ══ Skipped tests (98) ══════════════════════════════════════════════════════════ • Must be ran interactively (10): 'test-adding-features.R:2:3', 'test-adding-features.R:50:3', 'test-adding-features.R:67:3', 'test-create-feature-service.R:2:3', 'test-definition.R:2:3', 'test-delete-feats.R:2:3', 'test-update-fields.R:2:3', 'test-update-fields.R:24:3', 'test-write-feature-layer.R:2:3', 'test-write-feature-layer.R:15:3' • On CRAN (88): 'test-arc-select-respect-crs.R:2:3', 'test-arc_open.R:5:3', 'test-arc_open.R:22:3', 'test-arc_open.R:30:3', 'test-arc_open.R:37:3', 'test-arc_open.R:48:3', 'test-arc_open.R:56:3', 'test-arc_open.R:63:3', 'test-arc_open.R:73:3', 'test-arc_open.R:149:3', 'test-arc_open.R:155:3', 'test-arc_raster.R:2:3', 'test-arc_read.R:2:3', 'test-arc_read.R:13:3', 'test-arc_read.R:33:3', 'test-arc_read.R:61:3', 'test-arc_read.R:69:3', 'test-arc_read.R:80:3', 'test-arc_read.R:92:3', 'test-arc_read.R:98:3', 'test-arc_read.R:106:3', 'test-arc_read.R:119:3', 'test-arc_read.R:126:3', 'test-arc_read.R:138:3', 'test-arc_read.R:147:3', 'test-arc_read.R:156:3', 'test-arc_read.R:164:3', 'test-arc_read.R:170:3', 'test-arc_read.R:176:3', 'test-arc_read.R:183:3', 'test-arc_read.R:189:3', 'test-arc_read.R:196:3', 'test-arc_read.R:203:3', 'test-arc_read.R:234:3', 'test-arc_select.R:2:3', 'test-arc_select.R:11:3', 'test-arc_select.R:20:3', 'test-arc_select.R:31:3', 'test-arc_select.R:42:3', 'test-arc_select.R:54:3', 'test-arc_select.R:70:3', 'test-arc_select.R:140:3', 'test-arc_select.R:158:3', 'test-attachments.R:2:3', 'test-attachments.R:12:3', 'test-attachments.R:22:3', 'test-attachments.R:31:3', 'test-attachments.R:45:3', 'test-date-parsing.R:2:3', 'test-encode-field-values.R:2:3', 'test-encode-field-values.R:21:3', 'test-get-all-layers.R:2:3', 'test-get-all-layers.R:9:3', 'test-get-all-layers.R:18:3', 'test-get-all-layers.R:26:3', 'test-get-layer.R:4:3', 'test-get-layer.R:14:3', 'test-get-layer.R:24:3', 'test-get-layer.R:39:3', 'test-get-layer.R:53:3', 'test-get-layer.R:65:3', 'test-get-layer.R:80:3', 'test-get-layer.R:88:3', 'test-get-layers.R:2:3', 'test-get-layers.R:14:3', 'test-get-layers.R:28:3', 'test-get-layers.R:42:3', 'test-get-layers.R:57:3', 'test-get-layers.R:67:3', 'test-get-layers.R:78:3', 'test-get-layers.R:88:3', 'test-get-layers.R:99:3', 'test-map-services.R:2:3', 'test-map-services.R:17:3', 'test-page-size.R:2:3', 'test-pbf.R:2:3', 'test-pbf.R:15:3', 'test-pbf.R:24:3', 'test-raster-fns.R:2:3', 'test-raster-fns.R:25:3', 'test-return-geometry.R:2:3', 'test-return-geometry.R:15:3', 'test-returned-fields.R:5:3', 'test-returned-fields.R:14:3', 'test-returned-fields.R:26:3', 'test-returned-fields.R:38:3', 'test-returned-fields.R:54:3', 'test-returned-fields.R:76:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-empty-services.R:4:3'): empty feature services returns empty df ── Error in `as_layer_class(clear_url_query(url), token, layer_type)`: Status code: 400 Error: Invalid URL i Invalid URL Backtrace: ▆ 1. └─arcgislayers::arc_open(furl) at test-empty-services.R:4:3 2. └─arcgislayers:::as_layer_class(clear_url_query(url), token, layer_type) 3. └─arcgisutils::fetch_layer_metadata(url, token) 4. └─arcgisutils::detect_errors(meta, error_call = call) 5. └─rlang::abort(e_msg, call = error_call) [ FAIL 1 | WARN 0 | SKIP 98 | PASS 2 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [12s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE