CRAN Package Check Results for Package sgapi

Last updated on 2024-11-08 00:49:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 5.44 48.41 53.85 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.2 3.29 35.73 39.02 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2 90.97 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.2 81.51 ERROR
r-devel-windows-x86_64 1.0.2 10.00 88.00 98.00 OK
r-patched-linux-x86_64 1.0.2 5.45 45.85 51.30 ERROR
r-release-linux-x86_64 1.0.2 5.27 45.70 50.97 ERROR
r-release-macos-arm64 1.0.2 108.00 OK
r-release-macos-x86_64 1.0.2 130.00 OK
r-release-windows-x86_64 1.0.2 11.00 94.00 105.00 ERROR
r-oldrel-macos-arm64 1.0.2 120.00 OK
r-oldrel-macos-x86_64 1.0.2 189.00 OK
r-oldrel-windows-x86_64 1.0.2 11.00 101.00 112.00 ERROR

Check Details

Version: 1.0.2
Check: examples
Result: ERROR Running examples in ‘sgapi-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: list_data_sources > ### Title: List 'nomis' Data Sources > ### Aliases: list_data_sources > > ### ** Examples > > list_data_sources() Error in data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, : arguments imply differing number of rows: 1, 0 Calls: list_data_sources -> data.frame Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/29s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/36s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: examples
Result: ERROR Running examples in ‘sgapi-Ex.R’ failed The error most likely occurred in: > ### Name: list_data_sources > ### Title: List 'nomis' Data Sources > ### Aliases: list_data_sources > > ### ** Examples > > list_data_sources() Error in data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, : arguments imply differing number of rows: 1, 0 Calls: list_data_sources -> data.frame Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/57s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/25s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/27s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/26s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running 'testthat.R' [22s] 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(sgapi) > > test_check("sgapi") Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 191 features and 11 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -1.46 ymin: 52.231 xmax: 0.368 ymax: 52.887 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=200&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSON' Simple feature collection with 3 features and 10 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 51.97729 xmax: -0.7050439 ymax: 54.26161 Geodetic CRS: WGS 84 Reading layer `OGRGeoJSON' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&outSR=4326&geometryPrecision=3&resultOffset=0&f=geojson' using driver `GeoJSON' Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 Reading layer `GeoJSONSeq' from data source `https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?where=%20(L22NM%20%3D%20'Derbyshire%20Dales'%20OR%20L22NM%20%3D%20'Harrogate')%20&outFields=*&outSR=4326&f=geojson' using driver `GeoJSONSeq' Re-reading with feature count reset from 1 to 0 Simple feature collection with 0 features and 0 fields Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA Geodetic CRS: WGS 84 No encoding supplied: defaulting to UTF-8. Rows: 720 Columns: 34 -- Column specification -------------------------------------------------------- Delimiter: "," chr (16): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_C... dbl (17): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_TYPECODE, GEOG... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 25000 Columns: 58 -- Column specification -------------------------------------------------------- Delimiter: "," chr (23): DATE, DATE_NAME, DATE_CODE, DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_T... dbl (34): DATE_TYPECODE, DATE_SORTORDER, GEOGRAPHY, GEOGRAPHY_CODE, GEOGRAPH... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 40 -- Column specification -------------------------------------------------------- Delimiter: "," chr (18): DATE_TYPE, GEOGRAPHY_NAME, GEOGRAPHY_CODE, GEOGRAPHY_TYPE, C_SEX_N... dbl (21): DATE, DATE_NAME, DATE_CODE, DATE_TYPECODE, DATE_SORTORDER, GEOGRAP... lgl (1): OBS_CONF i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. No encoding supplied: defaulting to UTF-8. Rows: 3750 Columns: 3 -- Column specification -------------------------------------------------------- Delimiter: "," chr (2): GEOGRAPHY_NAME, C_AGE_NAME dbl (1): OBS_VALUE i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_data_sources.R:2:3'): returns a list ────────────────────── Error in `data.frame(source_name = y$contenttype$item[[i]]$name, source_id = y$contenttype$item[[i]]$id, source_description = y$contenttype$item[[i]]$description)`: arguments imply differing number of rows: 1, 0 Backtrace: ▆ 1. ├─testthat::expect_type(list_data_sources(), "list") at test-list_data_sources.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgapi::list_data_sources() 5. └─base::data.frame(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64