CRAN Package Check Results for Package sgapi

Last updated on 2026-08-03 06:54:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.2 5.14 55.82 60.96 OK
r-devel-linux-x86_64-debian-gcc 1.1.2 3.68 45.07 48.75 NOTE
r-devel-linux-x86_64-fedora-clang 1.1.2 8.00 77.70 85.70 OK
r-devel-linux-x86_64-fedora-gcc 1.1.2 38.39 OK
r-devel-windows-x86_64 1.1.2 9.00 113.00 122.00 OK
r-patched-linux-x86_64 1.1.2 5.11 50.00 55.11 OK
r-release-linux-x86_64 1.1.2 5.13 49.25 54.38 OK
r-release-macos-arm64 1.1.2 1.00 178.00 179.00 ERROR
r-release-macos-x86_64 1.1.2 4.00 235.00 239.00 ERROR
r-release-windows-x86_64 1.1.2 11.00 115.00 126.00 OK
r-oldrel-macos-arm64 1.1.2 1.00 147.00 148.00 OK
r-oldrel-macos-x86_64 1.1.2 4.00 188.00 192.00 OK
r-oldrel-windows-x86_64 1.1.2 13.00 125.00 138.00 OK

Check Details

Version: 1.1.2
Check: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp0Qyq8e’ ‘~/tmp/scratch/Rtmp0RjvcS’ ‘~/tmp/scratch/Rtmp0dna3C’ ‘~/tmp/scratch/Rtmp0qgcdY’ ‘~/tmp/scratch/Rtmp18kPvY’ ‘~/tmp/scratch/Rtmp1J6K4V’ ‘~/tmp/scratch/Rtmp2JtaAb’ ‘~/tmp/scratch/Rtmp2U4XUB’ ‘~/tmp/scratch/Rtmp2qo7as’ ‘~/tmp/scratch/Rtmp39HfWw’ ‘~/tmp/scratch/Rtmp3lGnCI’ ‘~/tmp/scratch/Rtmp3twAxQ’ ‘~/tmp/scratch/Rtmp4330dT’ ‘~/tmp/scratch/Rtmp4JE1xj’ ‘~/tmp/scratch/Rtmp4NNzOe’ ‘~/tmp/scratch/Rtmp5MU8p0’ ‘~/tmp/scratch/Rtmp6s2TDO’ ‘~/tmp/scratch/Rtmp7XkCiS’ ‘~/tmp/scratch/Rtmp7XwaoE’ ‘~/tmp/scratch/Rtmp8IqZRb’ ‘~/tmp/scratch/Rtmp8UYDBx’ ‘~/tmp/scratch/Rtmp8XbYIY’ ‘~/tmp/scratch/Rtmp8YLOVR’ ‘~/tmp/scratch/Rtmp8iHJcR’ ‘~/tmp/scratch/Rtmp9N1uQH’ ‘~/tmp/scratch/Rtmp9jECBS’ ‘~/tmp/scratch/Rtmp9k6zSA’ ‘~/tmp/scratch/RtmpAWJ3xj’ ‘~/tmp/scratch/RtmpAdGrZ2’ ‘~/tmp/scratch/RtmpAkJxHX’ ‘~/tmp/scratch/RtmpAuPRlm’ ‘~/tmp/scratch/RtmpAysly8’ ‘~/tmp/scratch/RtmpCHCppi’ ‘~/tmp/scratch/RtmpCWLE50’ ‘~/tmp/scratch/RtmpCaSj3X’ ‘~/tmp/scratch/RtmpCzLNFg’ ‘~/tmp/scratch/RtmpDG5bCb’ ‘~/tmp/scratch/RtmpDg2INF’ ‘~/tmp/scratch/RtmpDh09Px’ ‘~/tmp/scratch/RtmpE5K0Oh’ ‘~/tmp/scratch/RtmpE8Op0R’ ‘~/tmp/scratch/RtmpEMG8SE’ ‘~/tmp/scratch/RtmpERc0ho’ ‘~/tmp/scratch/RtmpEXOMqt’ ‘~/tmp/scratch/RtmpFCrBdK’ ‘~/tmp/scratch/RtmpFc0Pqn’ ‘~/tmp/scratch/RtmpGemTCX’ ‘~/tmp/scratch/RtmpHCjjzz’ ‘~/tmp/scratch/RtmpHspEpO’ ‘~/tmp/scratch/RtmpHwEGN1’ ‘~/tmp/scratch/RtmpHwyvAb’ ‘~/tmp/scratch/RtmpIJKD1u’ ‘~/tmp/scratch/RtmpIe7ex1’ ‘~/tmp/scratch/RtmpJTnIe9’ ‘~/tmp/scratch/RtmpKUqV82’ ‘~/tmp/scratch/RtmpKXAiWk’ ‘~/tmp/scratch/RtmpL9AT79’ ‘~/tmp/scratch/RtmpLRy9Dl’ ‘~/tmp/scratch/RtmpM0JPOC’ ‘~/tmp/scratch/RtmpMb7U6V’ ‘~/tmp/scratch/RtmpMtqt6b’ ‘~/tmp/scratch/RtmpNZtVdT’ ‘~/tmp/scratch/RtmpNbiTDU’ ‘~/tmp/scratch/RtmpNe9eQI’ ‘~/tmp/scratch/RtmpNsPHo4’ ‘~/tmp/scratch/RtmpNyudiF’ ‘~/tmp/scratch/RtmpOKyFq1’ ‘~/tmp/scratch/RtmpObuw1h’ ‘~/tmp/scratch/RtmpOjleso’ ‘~/tmp/scratch/RtmpPhrecf’ ‘~/tmp/scratch/RtmpPikbl4’ ‘~/tmp/scratch/RtmpQeTPJE’ ‘~/tmp/scratch/RtmpR1oKOe’ ‘~/tmp/scratch/RtmpRIOB0d’ ‘~/tmp/scratch/RtmpRfcE00’ ‘~/tmp/scratch/RtmpS00zPQ’ ‘~/tmp/scratch/RtmpSUA250’ ‘~/tmp/scratch/RtmpSUXIbn’ ‘~/tmp/scratch/RtmpSpmION’ ‘~/tmp/scratch/RtmpTUEFVQ’ ‘~/tmp/scratch/RtmpTxjzGo’ ‘~/tmp/scratch/RtmpUI337Q’ ‘~/tmp/scratch/RtmpV9NM7u’ ‘~/tmp/scratch/RtmpVc6qF2’ ‘~/tmp/scratch/RtmpXHXbsF’ ‘~/tmp/scratch/RtmpXJJKrh’ ‘~/tmp/scratch/RtmpXKJQkY’ ‘~/tmp/scratch/RtmpXLv7OH’ ‘~/tmp/scratch/RtmpY6cvOz’ ‘~/tmp/scratch/RtmpYQUABm’ ‘~/tmp/scratch/RtmpYg4oef’ ‘~/tmp/scratch/RtmpYrbVdg’ ‘~/tmp/scratch/RtmpZDtCEO’ ‘~/tmp/scratch/RtmpZH98Va’ ‘~/tmp/scratch/RtmpZMKaKx’ ‘~/tmp/scratch/Rtmpa8nksU’ ‘~/tmp/scratch/RtmpaKbhMq’ ‘~/tmp/scratch/Rtmpaa3HQJ’ ‘~/tmp/scratch/RtmpbpzrPl’ ‘~/tmp/scratch/RtmpcCIbJB’ ‘~/tmp/scratch/RtmpczuBl8’ ‘~/tmp/scratch/Rtmpd94klJ’ ‘~/tmp/scratch/RtmpdDc6Iv’ ‘~/tmp/scratch/RtmpdTEBIw’ ‘~/tmp/scratch/Rtmpda6LU7’ ‘~/tmp/scratch/RtmpdkZC79’ ‘~/tmp/scratch/RtmpdrRtmS’ ‘~/tmp/scratch/RtmpeNcrqX’ ‘~/tmp/scratch/RtmpedmCB7’ ‘~/tmp/scratch/RtmpeuEPvR’ ‘~/tmp/scratch/RtmpfG3XVU’ ‘~/tmp/scratch/RtmpfTkObn’ ‘~/tmp/scratch/Rtmpg8Sqci’ ‘~/tmp/scratch/RtmpgClnLh’ ‘~/tmp/scratch/Rtmpi26QMu’ ‘~/tmp/scratch/RtmpiGULR3’ ‘~/tmp/scratch/RtmpifVjrU’ ‘~/tmp/scratch/Rtmpj026EJ’ ‘~/tmp/scratch/RtmpjbrSEt’ ‘~/tmp/scratch/RtmpkjyNW6’ ‘~/tmp/scratch/RtmpkzpD8p’ ‘~/tmp/scratch/RtmplBKCUU’ ‘~/tmp/scratch/RtmplTbhRP’ ‘~/tmp/scratch/RtmplhjMjr’ ‘~/tmp/scratch/RtmpmGLqkS’ ‘~/tmp/scratch/RtmpmsHk4S’ ‘~/tmp/scratch/Rtmpmtya0A’ ‘~/tmp/scratch/RtmpnL0iNP’ ‘~/tmp/scratch/RtmpnQKLRd’ ‘~/tmp/scratch/RtmpnowkDl’ ‘~/tmp/scratch/RtmpoAxJeT’ ‘~/tmp/scratch/RtmppbPiH4’ ‘~/tmp/scratch/RtmpprWQO2’ ‘~/tmp/scratch/RtmprDthgP’ ‘~/tmp/scratch/Rtmps3rVFH’ ‘~/tmp/scratch/RtmpsECBoW’ ‘~/tmp/scratch/RtmpsHJNHD’ ‘~/tmp/scratch/RtmpstXTne’ ‘~/tmp/scratch/RtmptOTAcw’ ‘~/tmp/scratch/RtmptQZhan’ ‘~/tmp/scratch/RtmptXucZN’ ‘~/tmp/scratch/RtmptaA07k’ ‘~/tmp/scratch/RtmptbjLKs’ ‘~/tmp/scratch/RtmpuUXlVk’ ‘~/tmp/scratch/Rtmpw5uK6y’ ‘~/tmp/scratch/Rtmpyry83c’ ‘~/tmp/scratch/Rtmpz0Dgtq’ ‘~/tmp/scratch/RtmpzAoT9H’ ‘~/tmp/scratch/RtmpzFu6EB’ ‘~/tmp/scratch/xvfb-run.0355K4’ ‘~/tmp/scratch/xvfb-run.4Y9ozZ’ ‘~/tmp/scratch/xvfb-run.6XJzLA’ ‘~/tmp/scratch/xvfb-run.6YnS8v’ ‘~/tmp/scratch/xvfb-run.B3TGgU’ ‘~/tmp/scratch/xvfb-run.CW1I1L’ ‘~/tmp/scratch/xvfb-run.D9Cvrv’ ‘~/tmp/scratch/xvfb-run.GhoUQX’ ‘~/tmp/scratch/xvfb-run.GoTWyz’ ‘~/tmp/scratch/xvfb-run.GvjstX’ ‘~/tmp/scratch/xvfb-run.ILFjs0’ ‘~/tmp/scratch/xvfb-run.IU4sSd’ ‘~/tmp/scratch/xvfb-run.JHxycp’ ‘~/tmp/scratch/xvfb-run.L9gtM7’ ‘~/tmp/scratch/xvfb-run.LD5ApR’ ‘~/tmp/scratch/xvfb-run.Mj0VPt’ ‘~/tmp/scratch/xvfb-run.Mv7xqX’ ‘~/tmp/scratch/xvfb-run.Mvwkuo’ ‘~/tmp/scratch/xvfb-run.NCiSF2’ ‘~/tmp/scratch/xvfb-run.NSlboy’ ‘~/tmp/scratch/xvfb-run.NWqFL8’ ‘~/tmp/scratch/xvfb-run.Nfu9Cs’ ‘~/tmp/scratch/xvfb-run.OJ6PTd’ ‘~/tmp/scratch/xvfb-run.PDAe3j’ ‘~/tmp/scratch/xvfb-run.S0jpsO’ ‘~/tmp/scratch/xvfb-run.SUdvR9’ ‘~/tmp/scratch/xvfb-run.Suvnlw’ ‘~/tmp/scratch/xvfb-run.V4b3gP’ ‘~/tmp/scratch/xvfb-run.VZJemj’ ‘~/tmp/scratch/xvfb-run.YcqVYR’ ‘~/tmp/scratch/xvfb-run.Yk25Fg’ ‘~/tmp/scratch/xvfb-run.ZnJAw2’ ‘~/tmp/scratch/xvfb-run.a8mpgd’ ‘~/tmp/scratch/xvfb-run.cmExej’ ‘~/tmp/scratch/xvfb-run.d2kW1n’ ‘~/tmp/scratch/xvfb-run.dBKZAk’ ‘~/tmp/scratch/xvfb-run.dbp99e’ ‘~/tmp/scratch/xvfb-run.fl6BG5’ ‘~/tmp/scratch/xvfb-run.g6vrPL’ ‘~/tmp/scratch/xvfb-run.hcKKNS’ ‘~/tmp/scratch/xvfb-run.jUcNSw’ ‘~/tmp/scratch/xvfb-run.mMK0LN’ ‘~/tmp/scratch/xvfb-run.mwXjHN’ ‘~/tmp/scratch/xvfb-run.nrBzNy’ ‘~/tmp/scratch/xvfb-run.nt1sR1’ ‘~/tmp/scratch/xvfb-run.o1CwgG’ ‘~/tmp/scratch/xvfb-run.pIegWF’ ‘~/tmp/scratch/xvfb-run.rPpqYI’ ‘~/tmp/scratch/xvfb-run.sGriSE’ ‘~/tmp/scratch/xvfb-run.sMhc4I’ ‘~/tmp/scratch/xvfb-run.sllB8E’ ‘~/tmp/scratch/xvfb-run.tnBofU’ ‘~/tmp/scratch/xvfb-run.w5kmj1’ ‘~/tmp/scratch/xvfb-run.wjJo9S’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.2
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/147s] 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 Saving _problems/test-get_ons_table-6.R 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. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 63 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_ons_table.R:6:3'): Valid query returning over 25,000 rows sends a warning ── Error in `scan(file = file, what = what, sep = sep, quote = quote, dec = dec, nmax = nrows, skip = 0, na.strings = na.strings, quiet = TRUE, fill = fill, strip.white = strip.white, blank.lines.skip = blank.lines.skip, multi.line = FALSE, comment.char = comment.char, allowEscapes = allowEscapes, flush = flush, encoding = encoding, skipNul = skipNul)`: cannot read from connection Backtrace: ▆ 1. ├─testthat::expect_warning(get_ons_table("nm_105_1", time = "latest")) at test-get_ons_table.R:6:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─sgapi::get_ons_table("nm_105_1", time = "latest") 8. └─utils (local) csv_parser_fnc(nomis_conn) 9. └─utils::read.table(...) 10. └─base::scan(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 63 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-arm64

Version: 1.1.2
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/168s] 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: 18354 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. Saving _problems/test-get_table-10.R 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 63 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_table.R:10:3'): Valid query returning over 25,000 rows sends a warning ── Expected `get_table("NM_105_1", options = list(time = "latest"))` to throw a warning. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 63 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-x86_64