- 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 'arcgislayers/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'arcgislayers' version '0.5.0'
- 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 'arcgislayers' can be installed ... OK
See the install log for details.
- 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 whether startup messages can be suppressed ... [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 ... [9s] 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 ... [5s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [71s] ERROR
Running 'testthat.R' [71s]
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")
i Query results limited to 1 out of 3144 available features.
[working] (0 + 0) -> 1 -> 1 | ===============>--------------- 50%
[working] (0 + 0) -> 0 -> 2 | ==============================> 100%
! Cannot determine supported query formats.
i Query results limited to 2 out of 209257 available features.
i Query results limited to 999 out of 31568 available features.
i Query results limited to 333 out of 31568 available features.
Reading layer `nc' from data source `D:\RCompile\CRANpkg\lib\4.4\sf\shape\nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
Geodetic CRS: NAD27
Reading layer `nc' from data source `D:\RCompile\CRANpkg\lib\4.4\sf\shape\nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
Geodetic CRS: NAD27
Reading layer `nc' from data source `D:\RCompile\CRANpkg\lib\4.4\sf\shape\nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
Geodetic CRS: NAD27
i Query results limited to 5 out of 30924 available features.
i Query results limited to 10 out of 8174955 available features.
i Query results limited to 1000 out of 4186 available features.
i Query results limited to 10 out of 93 available features.
i Query results limited to 3 out of 3144 available features.
i Query results limited to 3 out of 3144 available features.
i Query results limited to 3 out of 281 available features.
i Query results limited to 3 out of 281 available features.
i Query results limited to 10 out of 4186 available features.
i Query results limited to 10 out of 4186 available features.
i Query results limited to 100 out of 6033 available features.
i Query results limited to 100 out of 6033 available features.
! Cannot determine supported query formats.
i Query results limited to 10 out of 3036244 available features.
! Cannot determine supported query formats.
i Query results limited to 1 out of 3036244 available features.
! Cannot determine supported query formats.
i Query results limited to 1 out of 3036244 available features.
[ FAIL 1 | WARN 1 | SKIP 67 | PASS 40 ]
══ Skipped tests (67) ══════════════════════════════════════════════════════════
• 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:4:3',
'test-update-fields.R:26:3', 'test-write-feature-layer.R:2:3',
'test-write-feature-layer.R:15:3'
• On CRAN (56): 'test-arc_open.R:5:3', 'test-arc_open.R:21:3',
'test-arc_open.R:28:3', 'test-arc_open.R:34:3', 'test-arc_open.R:44:3',
'test-arc_open.R:51:3', 'test-arc_open.R:57:3', 'test-arc_open.R:66:3',
'test-arc_open.R:141:3', 'test-arc_open.R:146: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:23: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:9:3',
'test-get-layer.R:14:3', 'test-get-layer.R:19:3', 'test-get-layer.R:24:3',
'test-get-layer.R:40:3', 'test-get-layer.R:45:3', 'test-get-layer.R:55:3',
'test-get-layer.R:60:3', 'test-get-layers.R:9:3', 'test-get-layers.R:20:3',
'test-get-layers.R:26:3', 'test-get-layers.R:36:3', 'test-get-layers.R:42:3',
'test-get-layers.R:51:3', 'test-get-layers.R:57:3', 'test-get-layers.R:67:3',
'test-map-services.R:10:3'
• empty test (1): 'test-encode-field-values.R:37:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-attachments.R:2:1'): (code run outside of `test_that()`) ───────
Error in `as_layer_class(clear_url_query(url), token, layer_type)`: Status code: 499
ErrorGWM_0003: Token Required
ℹ Token Required
Backtrace:
▆
1. └─arcgislayers::arc_open(furl) at test-attachments.R:2:1
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 1 | SKIP 67 | PASS 40 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR