CRAN Package Check Results for Package sgapi

Last updated on 2025-06-04 15:49:38 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 4.55 52.15 56.70 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 3.41 38.36 41.77 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 83.69 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 79.64 OK
r-devel-windows-x86_64 1.1.0 9.00 104.00 113.00 ERROR
r-patched-linux-x86_64 1.1.0 4.73 48.09 52.82 OK
r-release-linux-x86_64 1.1.0 4.81 48.07 52.88 OK
r-release-macos-arm64 1.1.0 168.00 OK
r-release-macos-x86_64 1.1.0 227.00 OK
r-release-windows-x86_64 1.1.0 9.00 109.00 118.00 ERROR
r-oldrel-macos-arm64 1.1.0 187.00 OK
r-oldrel-macos-x86_64 1.1.0 240.00 OK
r-oldrel-windows-x86_64 1.1.0 11.00 120.00 131.00 ERROR

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running 'testthat.R' [38s] 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=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects' 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=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&resultOffset=2000' 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/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects' 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?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20' 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/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire'%20OR%20LAD22NM%20%3D%20'Aldershot'%20OR%20LAD22NM%20%3D%20'Aldridge-Brownhills'%20OR%20LAD22NM%20%3D%20'Altrincham%20and%20Sale%20West'%20OR%20LAD22NM%20%3D%20'Amber%20Valley'%20OR%20LAD22NM%20%3D%20'Arundel%20and%20South%20Downs'%20OR%20LAD22NM%20%3D%20'Ashfield'%20OR%20LAD22NM%20%3D%20'Ashford'%20OR%20LAD22NM%20%3D%20'Ashton-under-Lyne'%20OR%20LAD22NM%20%3D%20'Aylesbury'%20OR%20LAD22NM%20%3D%20'Banbury'%20OR%20LAD22NM%20%3D%20'Barking'%20OR%20LAD22NM%20%3D%20'Barnsley%20North'%20OR%20LAD22NM%20%3D%20'Barnsley%20South'%20OR%20LAD22NM%20%3D%20'Barrow%20and%20Furness'%20OR%20LAD22NM%20%3D%20'Basildon%20and%20Billericay'%20OR%20LAD22NM%20%3D%20'Basingstoke'%20OR%20LAD22NM%20%3D%20'Bassetlaw'%20OR%20LAD22NM%20%3D%20'Bath'%20OR%20LAD22NM%20%3D%20'Battersea'%20OR%20LAD22NM%20%3D%20'Beaconsfield'%20OR%20LAD22NM%20%3D%20'Beckenham%20and%20Penge'%20OR%20LAD22NM%20%3D%20'Bedford'%20OR%20LAD22NM%20%3D%20'Bermondsey%20and%20Old%20Southwark'%20OR%20LAD22NM%20%3D%20'Bethnal%20Green%20and%20Stepney'%20OR%20LAD22NM%20%3D%20'Beverley%20and%20Holderness'%20OR%20LAD22NM%20%3D%20'Bexhill%20and%20Battle'%20OR%20LAD22NM%20%3D%20'Bexleyheath%20and%20Crayford')%20' using driver `GeoJSON' Simple feature collection with 8 features and 10 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 50.98949 xmax: 1.029241 ymax: 54.26161 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?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Bicester%20and%20Woodstock'%20OR%20LAD22NM%20%3D%20'Birkenhead'%20OR%20LAD22NM%20%3D%20'Birmingham%20Edgbaston'%20OR%20LAD22NM%20%3D%20'Birmingham%20Erdington'%20OR%20LAD22NM%20%3D%20'Birmingham%20Hall%20Green%20and%20Moseley')%20' 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 Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1_1.data.csv?geography=TYPE480&time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_105_1.data.csv?time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest&select=GEOGRAPHY_NAME,C_AGE_NAME,OBS_VALUE Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest&select=GEOGRAPHY_NAME,C_AGE_NAME,OBS_VALUE Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/A_1_1.data.csv?geography=TYPE480&time=latest 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: 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. Querying open geography portal -> https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/?f=json [ FAIL 1 | WARN 0 | SKIP 0 | PASS 64 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_boundaries.R:5:3'): Verify output of list_boundaries() is correct ── <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition> Error in `expect_vector(boundaries, ptype = character())`: `\`boundaries\`` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_vector(boundaries, ptype = character()) at test-list_boundaries.R:5:3 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─vctrs::vec_assert(act$val, ptype = ptype, size = size, arg = act$lab) 7. └─vctrs:::stop_scalar_type(x, arg, call = call) 8. └─vctrs:::stop_vctrs(...) 9. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 64 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.1.0
Check: tests
Result: ERROR Running 'testthat.R' [40s] 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=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects' 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=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&resultOffset=2000' 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/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects' 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?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20' 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/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire'%20OR%20LAD22NM%20%3D%20'Aldershot'%20OR%20LAD22NM%20%3D%20'Aldridge-Brownhills'%20OR%20LAD22NM%20%3D%20'Altrincham%20and%20Sale%20West'%20OR%20LAD22NM%20%3D%20'Amber%20Valley'%20OR%20LAD22NM%20%3D%20'Arundel%20and%20South%20Downs'%20OR%20LAD22NM%20%3D%20'Ashfield'%20OR%20LAD22NM%20%3D%20'Ashford'%20OR%20LAD22NM%20%3D%20'Ashton-under-Lyne'%20OR%20LAD22NM%20%3D%20'Aylesbury'%20OR%20LAD22NM%20%3D%20'Banbury'%20OR%20LAD22NM%20%3D%20'Barking'%20OR%20LAD22NM%20%3D%20'Barnsley%20North'%20OR%20LAD22NM%20%3D%20'Barnsley%20South'%20OR%20LAD22NM%20%3D%20'Barrow%20and%20Furness'%20OR%20LAD22NM%20%3D%20'Basildon%20and%20Billericay'%20OR%20LAD22NM%20%3D%20'Basingstoke'%20OR%20LAD22NM%20%3D%20'Bassetlaw'%20OR%20LAD22NM%20%3D%20'Bath'%20OR%20LAD22NM%20%3D%20'Battersea'%20OR%20LAD22NM%20%3D%20'Beaconsfield'%20OR%20LAD22NM%20%3D%20'Beckenham%20and%20Penge'%20OR%20LAD22NM%20%3D%20'Bedford'%20OR%20LAD22NM%20%3D%20'Bermondsey%20and%20Old%20Southwark'%20OR%20LAD22NM%20%3D%20'Bethnal%20Green%20and%20Stepney'%20OR%20LAD22NM%20%3D%20'Beverley%20and%20Holderness'%20OR%20LAD22NM%20%3D%20'Bexhill%20and%20Battle'%20OR%20LAD22NM%20%3D%20'Bexleyheath%20and%20Crayford')%20' using driver `GeoJSON' Simple feature collection with 8 features and 10 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 50.98949 xmax: 1.029241 ymax: 54.26161 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?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Bicester%20and%20Woodstock'%20OR%20LAD22NM%20%3D%20'Birkenhead'%20OR%20LAD22NM%20%3D%20'Birmingham%20Edgbaston'%20OR%20LAD22NM%20%3D%20'Birmingham%20Erdington'%20OR%20LAD22NM%20%3D%20'Birmingham%20Hall%20Green%20and%20Moseley')%20' 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 Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1_1.data.csv?geography=TYPE480&time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_105_1.data.csv?time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest&select=GEOGRAPHY_NAME,C_AGE_NAME,OBS_VALUE Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest&select=GEOGRAPHY_NAME,C_AGE_NAME,OBS_VALUE Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/A_1_1.data.csv?geography=TYPE480&time=latest 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: 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. Querying open geography portal -> https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/?f=json [ FAIL 1 | WARN 0 | SKIP 0 | PASS 64 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_boundaries.R:5:3'): Verify output of list_boundaries() is correct ── <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition> Error in `expect_vector(boundaries, ptype = character())`: `\`boundaries\`` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_vector(boundaries, ptype = character()) at test-list_boundaries.R:5:3 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─vctrs::vec_assert(act$val, ptype = ptype, size = size, arg = act$lab) 7. └─vctrs:::stop_scalar_type(x, arg, call = call) 8. └─vctrs:::stop_vctrs(...) 9. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 64 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.1.0
Check: tests
Result: ERROR Running 'testthat.R' [43s] 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=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects' 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=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=-1.282825%2C52.354169%2C0.206626%2C52.7106&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects&resultOffset=2000' 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/MSOA_Dec_2011_Boundaries_Generalised_Clipped_BGC_EW_V3_2022/FeatureServer/0/query?where=1%3D1&outFields=*&outSR=4326&geometryPrecision=3&f=geojson&geometry=52.354169%2C-1.282825%2C52.7106%2C0.206626&geometryType=esriGeometryEnvelope&inSR=4326&spatialRel=esriSpatialRelIntersects' 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?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire')%20' 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/Local_Authority_Districts_December_2022_UK_BGC_V2/FeatureServer/0/query?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Derbyshire%20Dales'%20OR%20LAD22NM%20%3D%20'Harrogate'%20OR%20LAD22NM%20%3D%20'West%20Northamptonshire'%20OR%20LAD22NM%20%3D%20'Aldershot'%20OR%20LAD22NM%20%3D%20'Aldridge-Brownhills'%20OR%20LAD22NM%20%3D%20'Altrincham%20and%20Sale%20West'%20OR%20LAD22NM%20%3D%20'Amber%20Valley'%20OR%20LAD22NM%20%3D%20'Arundel%20and%20South%20Downs'%20OR%20LAD22NM%20%3D%20'Ashfield'%20OR%20LAD22NM%20%3D%20'Ashford'%20OR%20LAD22NM%20%3D%20'Ashton-under-Lyne'%20OR%20LAD22NM%20%3D%20'Aylesbury'%20OR%20LAD22NM%20%3D%20'Banbury'%20OR%20LAD22NM%20%3D%20'Barking'%20OR%20LAD22NM%20%3D%20'Barnsley%20North'%20OR%20LAD22NM%20%3D%20'Barnsley%20South'%20OR%20LAD22NM%20%3D%20'Barrow%20and%20Furness'%20OR%20LAD22NM%20%3D%20'Basildon%20and%20Billericay'%20OR%20LAD22NM%20%3D%20'Basingstoke'%20OR%20LAD22NM%20%3D%20'Bassetlaw'%20OR%20LAD22NM%20%3D%20'Bath'%20OR%20LAD22NM%20%3D%20'Battersea'%20OR%20LAD22NM%20%3D%20'Beaconsfield'%20OR%20LAD22NM%20%3D%20'Beckenham%20and%20Penge'%20OR%20LAD22NM%20%3D%20'Bedford'%20OR%20LAD22NM%20%3D%20'Bermondsey%20and%20Old%20Southwark'%20OR%20LAD22NM%20%3D%20'Bethnal%20Green%20and%20Stepney'%20OR%20LAD22NM%20%3D%20'Beverley%20and%20Holderness'%20OR%20LAD22NM%20%3D%20'Bexhill%20and%20Battle'%20OR%20LAD22NM%20%3D%20'Bexleyheath%20and%20Crayford')%20' using driver `GeoJSON' Simple feature collection with 8 features and 10 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -2.004508 ymin: 50.98949 xmax: 1.029241 ymax: 54.26161 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?outSR=4326&outFields=*&f=geojson&where=%20(LAD22NM%20%3D%20'Bicester%20and%20Woodstock'%20OR%20LAD22NM%20%3D%20'Birkenhead'%20OR%20LAD22NM%20%3D%20'Birmingham%20Edgbaston'%20OR%20LAD22NM%20%3D%20'Birmingham%20Erdington'%20OR%20LAD22NM%20%3D%20'Birmingham%20Hall%20Green%20and%20Moseley')%20' 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 Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1_1.data.csv?geography=TYPE480&time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_105_1.data.csv?time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest&select=GEOGRAPHY_NAME,C_AGE_NAME,OBS_VALUE Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/nm_1002_1.data.csv?geography=TYPE265&time=latest&select=GEOGRAPHY_NAME,C_AGE_NAME,OBS_VALUE Querying Nomis API -> https://www.nomisweb.co.uk/api/v01/dataset/A_1_1.data.csv?geography=TYPE480&time=latest 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: 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. Querying open geography portal -> https://services1.arcgis.com/ESMARspQHYMw9BZ9/arcgis/rest/services/?f=json [ FAIL 1 | WARN 0 | SKIP 0 | PASS 64 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-list_boundaries.R:5:3'): Verify output of list_boundaries() is correct ── <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition> Error in `expect_vector(boundaries, ptype = character())`: `\`boundaries\`` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_vector(boundaries, ptype = character()) at test-list_boundaries.R:5:3 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─vctrs::vec_assert(act$val, ptype = ptype, size = size, arg = act$lab) 7. └─vctrs:::stop_scalar_type(x, arg, call = call) 8. └─vctrs:::stop_vctrs(...) 9. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 64 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.