Running ‘testthat.R’ [12s/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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(gdalraster)
  GDAL 3.10.0, released 2024/11/01, GEOS 3.13.0, PROJ 9.5.1
  > 
  > test_check("gdalraster")
  ERROR 1: Unknown argument: --invalid_arg
  initializing destination raster...
  done
  0...10...20...30...40...50...60...70...80...90...100 - done.
  failed to get statistics, 'NA' returned
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  failed to get projection ref
  failed to get projection ref
  failed to get projection ref
  failed to get projection ref
  failed to get projection ref
  failed to get projection ref
  failed to get projection ref
  0...10...20...30...40...50...60...70...80...90...100 - done.
  calculating from 1 input layer(s)...
  ================================================================================
  output written to: /home/hornik/tmp/scratch/RtmpKwKM59/storml_evc_ct.tif
  Int64/UInt64 raster data types are not fully supported.
  Loss of precision will occur for values > 2^53.
  scanning raster...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  ERROR 4: _err_: No such file or directory
  error on source: _err_
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  ERROR 5: storml_elev_fill.tif: GDALDataset::GetRasterBand(2) - Illegal band #
  
  ERROR 4: _err_: No such file or directory
  initializing destination raster...
  done
  calculating from 1 input layer(s)...
  ================================================================================
  output written to: /home/hornik/tmp/scratch/RtmpKwKM59/rastcalcb71d73a764e7.tif
  0...10...20...30...40...50...60...70...80...90...100 - done.
  ERROR 5: storml_evt.tif: GDALDataset::GetRasterBand(2) - Illegal band #
  
  ERROR 4: _err_: No such file or directory
  ERROR 5: storml_evt_mmu2.tif: GDALDataset::GetRasterBand(2) - Illegal band #
  
  ERROR 4: _err_: No such file or directory
  ERROR 5: rastcalcb71d73a764e7.tif: GDALDataset::GetRasterBand(2) - Illegal band #
  
  initializing destination raster...
  done
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  Warning 6: Normalized/laundered field name: 'burn_bnd_ac' to 'burn_bnd_a'
  Warning 6: Normalized/laundered field name: 'burn_bnd_lat' to 'burn_bnd_l'
  Warning 6: Normalized/laundered field name: 'burn_bnd_lon' to 'burn_bnd_1'
  INFO: Open of `/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/ynp_fires_1984_2022.gpkg'
        using driver `GPKG' successful.
  1: mtbs_perims (Multi Polygon)
  {
    "description":"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/ynp_fires_1984_2022.gpkg",
    "driverShortName":"GPKG",
    "driverLongName":"GeoPackage",
    "layers":[
      {
        "name":"mtbs_perims",
        "geometryFields":[
          {
            "name":"geom",
            "type":"MultiPolygon",
            "nullable":true,
            "extent":[
              469685.72668182797,
              -12917.7562873564,
              573531.71964323497,
              96577.336357780106
            ],
            "coordinateSystem":{
              "wkt":"PROJCRS[\"NAD83 / Montana\",\n    BASEGEOGCRS[\"NAD83\",\n        DATUM[\"North American Datum 1983\",\n            ELLIPSOID[\"GRS 1980\",6378137,298.257222101,\n                LENGTHUNIT[\"metre\",1]]],\n        PRIMEM[\"Greenwich\",0,\n            ANGLEUNIT[\"degree\",0.0174532925199433]],\n        ID[\"EPSG\",4269]],\n    CONVERSION[\"SPCS83 Montana zone (meter)\",\n        METHOD[\"Lambert Conic Conformal (2SP)\",\n            ID[\"EPSG\",9802]],\n        PARAMETER[\"Latitude of false origin\",44.25,\n            ANGLEUNIT[\"degree\",0.0174532925199433],\n            ID[\"EPSG\",8821]],\n        PARAMETER[\"Longitude of false origin\",-109.5,\n            ANGLEUNIT[\"degree\",0.0174532925199433],\n            ID[\"EPSG\",8822]],\n        PARAMETER[\"Latitude of 1st standard parallel\",49,\n            ANGLEUNIT[\"degree\",0.0174532925199433],\n            ID[\"EPSG\",8823]],\n        PARAMETER[\"Latitude of 2nd standard parallel\",45,\n            ANGLEUNIT[\"degree\",0.0174532925199433],\n            ID[\"EPSG\",8824]],\n        PARAMETER[\"Easting at false origin\",600000,\n            LENGTHUNIT[\"metre\",1],\n            ID[\"EPSG\",8826]],\n        PARAMETER[\"Northing at false origin\",0,\n            LENGTHUNIT[\"metre\",1],\n            ID[\"EPSG\",8827]]],\n    CS[Cartesian,2],\n        AXIS[\"easting (X)\",east,\n            ORDER[1],\n            LENGTHUNIT[\"metre\",1]],\n        AXIS[\"northing (Y)\",north,\n            ORDER[2],\n            LENGTHUNIT[\"metre\",1]],\n    USAGE[\n        SCOPE[\"Engineering survey, topographic mapping.\"],\n        AREA[\"United States (USA) - Montana - counties of Beaverhead; Big Horn; Blaine; Broadwater; Carbon; Carter; Cascade; Chouteau; Custer; Daniels; Dawson; Deer Lodge; Fallon; Fergus; Flathead; Gallatin; Garfield; Glacier; Golden Valley; Granite; Hill; Jefferson; Judith Basin; Lake; Lewis and Clark; Liberty; Lincoln; Madison; McCone; Meagher; Mineral; Missoula; Musselshell; Park; Petroleum; Phillips; Pondera; Powder River; Powell; Prairie; Ravalli; Richland; Roosevelt; Rosebud; Sanders; Sheridan; Silver Bow; Stillwater; Sweet Grass; Teton; Toole; Treasure; Valley; Wheatland; Wibaux; Yellowstone.\"],\n        BBOX[44.35,-116.07,49.01,-104.04]],\n    ID[\"EPSG\",32100]]",
              "projjson":{
                "$schema":"https://proj.org/schemas/v0.7/projjson.schema.json",
                "type":"ProjectedCRS",
                "name":"NAD83 / Montana",
                "base_crs":{
                  "name":"NAD83",
                  "datum":{
                    "type":"GeodeticReferenceFrame",
                    "name":"North American Datum 1983",
                    "ellipsoid":{
                      "name":"GRS 1980",
                      "semi_major_axis":6378137,
                      "inverse_flattening":298.257222101
                    }
                  },
                  "coordinate_system":{
                    "subtype":"ellipsoidal",
                    "axis":[
                      {
                        "name":"Geodetic latitude",
                        "abbreviation":"Lat",
                        "direction":"north",
                        "unit":"degree"
                      },
                      {
                        "name":"Geodetic longitude",
                        "abbreviation":"Lon",
                        "direction":"east",
                        "unit":"degree"
                      }
                    ]
                  },
                  "id":{
                    "authority":"EPSG",
                    "code":4269
                  }
                },
                "conversion":{
                  "name":"SPCS83 Montana zone (meter)",
                  "method":{
                    "name":"Lambert Conic Conformal (2SP)",
                    "id":{
                      "authority":"EPSG",
                      "code":9802
                    }
                  },
                  "parameters":[
                    {
                      "name":"Latitude of false origin",
                      "value":44.25,
                      "unit":"degree",
                      "id":{
                        "authority":"EPSG",
                        "code":8821
                      }
                    },
                    {
                      "name":"Longitude of false origin",
                      "value":-109.5,
                      "unit":"degree",
                      "id":{
                        "authority":"EPSG",
                        "code":8822
                      }
                    },
                    {
                      "name":"Latitude of 1st standard parallel",
                      "value":49,
                      "unit":"degree",
                      "id":{
                        "authority":"EPSG",
                        "code":8823
                      }
                    },
                    {
                      "name":"Latitude of 2nd standard parallel",
                      "value":45,
                      "unit":"degree",
                      "id":{
                        "authority":"EPSG",
                        "code":8824
                      }
                    },
                    {
                      "name":"Easting at false origin",
                      "value":600000,
                      "unit":"metre",
                      "id":{
                        "authority":"EPSG",
                        "code":8826
                      }
                    },
                    {
                      "name":"Northing at false origin",
                      "value":0,
                      "unit":"metre",
                      "id":{
                        "authority":"EPSG",
                        "code":8827
                      }
                    }
                  ]
                },
                "coordinate_system":{
                  "subtype":"Cartesian",
                  "axis":[
                    {
                      "name":"Easting",
                      "abbreviation":"X",
                      "direction":"east",
                      "unit":"metre"
                    },
                    {
                      "name":"Northing",
                      "abbreviation":"Y",
                      "direction":"north",
                      "unit":"metre"
                    }
                  ]
                },
                "scope":"Engineering survey, topographic mapping.",
                "area":"United States (USA) - Montana - counties of Beaverhead; Big Horn; Blaine; Broadwater; Carbon; Carter; Cascade; Chouteau; Custer; Daniels; Dawson; Deer Lodge; Fallon; Fergus; Flathead; Gallatin; Garfield; Glacier; Golden Valley; Granite; Hill; Jefferson; Judith Basin; Lake; Lewis and Clark; Liberty; Lincoln; Madison; McCone; Meagher; Mineral; Missoula; Musselshell; Park; Petroleum; Phillips; Pondera; Powder River; Powell; Prairie; Ravalli; Richland; Roosevelt; Rosebud; Sanders; Sheridan; Silver Bow; Stillwater; Sweet Grass; Teton; Toole; Treasure; Valley; Wheatland; Wibaux; Yellowstone.",
                "bbox":{
                  "south_latitude":44.35,
                  "west_longitude":-116.07,
                  "north_latitude":49.01,
                  "east_longitude":-104.04
                },
                "id":{
                  "authority":"EPSG",
                  "code":32100
                }
              },
              "dataAxisToSRSAxisMapping":[
                1,
                2
              ]
            }
          }
        ],
        "featureCount":61,
        "fidColumnName":"fid",
        "fields":[
          {
            "name":"event_id",
            "type":"String",
            "width":254,
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"incid_name",
            "type":"String",
            "width":254,
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"incid_type",
            "type":"String",
            "width":254,
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"map_id",
            "type":"Integer64",
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"burn_bnd_ac",
            "type":"Integer64",
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"burn_bnd_lat",
            "type":"String",
            "width":10,
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"burn_bnd_lon",
            "type":"String",
            "width":10,
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"ig_date",
            "type":"Date",
            "nullable":true,
            "uniqueConstraint":false
          },
          {
            "name":"ig_year",
            "type":"Integer",
            "nullable":true,
            "uniqueConstraint":false
          }
        ]
      }
    ],
    "domains":{}
  }
  INFO: Open of `/vsimem/ynp_fires_1984_2022.gpkg'
        using driver `GPKG' successful.
  adding /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/storml_evt.tif ...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  adding /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/storml_evc.tif ...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  adding /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/storml_evh.tif ...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  {xml_node}
  <Option name="COMPRESS" type="string-select">
   [1] <Value>NONE</Value>
   [2] <Value>LZW</Value>
   [3] <Value>PACKBITS</Value>
   [4] <Value>JPEG</Value>
   [5] <Value>CCITTRLE</Value>
   [6] <Value>CCITTFAX3</Value>
   [7] <Value>CCITTFAX4</Value>
   [8] <Value>DEFLATE</Value>
   [9] <Value>LZMA</Value>
  [10] <Value>ZSTD</Value>
  [11] <Value>WEBP</Value>
  [12] <Value>LERC</Value>
  [13] <Value>LERC_DEFLATE</Value>
  [14] <Value>LERC_ZSTD</Value>
  {xml_node}
  <Option name="PREDICTOR" type="int" description="Predictor Type (1=default, 2=horizontal differencing, 3=floating point prediction)">
  {xml_node}
  <Option name="DISCARD_LSB" type="string" description="Number of least-significant bits to set to clear as a single value or comma-separated list of values for per-band values">
  {xml_node}
  <Option name="JPEG_QUALITY" type="int" description="JPEG quality 1-100" default="75">
  {xml_node}
  <Option name="JPEGTABLESMODE" type="int" description="Content of JPEGTABLES tag. 0=no JPEGTABLES tag, 1=Quantization tables only, 2=Huffman tables only, 3=Both" default="1">
  {xml_node}
  <Option name="ZLEVEL" type="int" description="DEFLATE compression level 1-12" default="6">
  {xml_node}
  <Option name="LZMA_PRESET" type="int" description="LZMA compression level 0(fast)-9(slow)" default="6">
  {xml_node}
  <Option name="ZSTD_LEVEL" type="int" description="ZSTD compression level 1(fast)-22(slow)" default="9">
  {xml_node}
  <Option name="MAX_Z_ERROR" type="float" description="Maximum error for LERC compression" default="0">
  {xml_node}
  <Option name="MAX_Z_ERROR_OVERVIEW" type="float" description="Maximum error for LERC compression in overviews" default="0">
  {xml_node}
  <Option name="WEBP_LOSSLESS" type="boolean" description="Whether lossless compression should be used" default="FALSE">
  {xml_node}
  <Option name="WEBP_LEVEL" type="int" description="WEBP quality level. Low values result in higher compression ratios" default="75">
  {xml_node}
  <Option name="NUM_THREADS" type="string" description="Number of worker threads for compression. Can be set to ALL_CPUS" default="1">
  {xml_node}
  <Option name="NBITS" type="int" description="BITS for sub-byte files (1-7), sub-uint16_t (9-15), sub-uint32_t (17-31), or float32 (16)">
  {xml_node}
  <Option name="INTERLEAVE" type="string-select" default="PIXEL">
  [1] <Value>BAND</Value>
  [2] <Value>PIXEL</Value>
  {xml_node}
  <Option name="TILED" type="boolean" description="Switch to tiled format">
  {xml_node}
  <Option name="TFW" type="boolean" description="Write out world file">
  {xml_node}
  <Option name="RPB" type="boolean" description="Write out .RPB (RPC) file">
  {xml_node}
  <Option name="RPCTXT" type="boolean" description="Write out _RPC.TXT file">
  {xml_node}
  <Option name="BLOCKXSIZE" type="int" description="Tile Width">
  {xml_node}
  <Option name="BLOCKYSIZE" type="int" description="Tile/Strip Height">
  {xml_node}
  <Option name="PHOTOMETRIC" type="string-select">
  [1] <Value>MINISBLACK</Value>
  [2] <Value>MINISWHITE</Value>
  [3] <Value>PALETTE</Value>
  [4] <Value>RGB</Value>
  [5] <Value>CMYK</Value>
  [6] <Value>YCBCR</Value>
  [7] <Value>CIELAB</Value>
  [8] <Value>ICCLAB</Value>
  [9] <Value>ITULAB</Value>
  {xml_node}
  <Option name="SPARSE_OK" type="boolean" description="Should empty blocks be omitted on disk?" default="FALSE">
  {xml_node}
  <Option name="ALPHA" type="string-select" description="Mark first extrasample as being alpha">
  [1] <Value>NON-PREMULTIPLIED</Value>
  [2] <Value>PREMULTIPLIED</Value>
  [3] <Value>UNSPECIFIED</Value>
  [4] <Value aliasOf="NON-PREMULTIPLIED">YES</Value>
  [5] <Value aliasOf="UNSPECIFIED">NO</Value>
  {xml_node}
  <Option name="PROFILE" type="string-select" default="GDALGeoTIFF">
  [1] <Value>GDALGeoTIFF</Value>
  [2] <Value>GeoTIFF</Value>
  [3] <Value>BASELINE</Value>
  {xml_node}
  <Option name="PIXELTYPE" type="string-select" description="(deprecated, use Int8 datatype)">
  [1] <Value>DEFAULT</Value>
  [2] <Value>SIGNEDBYTE</Value>
  {xml_node}
  <Option name="BIGTIFF" type="string-select" description="Force creation of BigTIFF file">
  [1] <Value>YES</Value>
  [2] <Value>NO</Value>
  [3] <Value>IF_NEEDED</Value>
  [4] <Value>IF_SAFER</Value>
  {xml_node}
  <Option name="ENDIANNESS" type="string-select" default="NATIVE" description="Force endianness of created file. For DEBUG purpose mostly">
  [1] <Value>NATIVE</Value>
  [2] <Value>INVERTED</Value>
  [3] <Value>LITTLE</Value>
  [4] <Value>BIG</Value>
  {xml_node}
  <Option name="COPY_SRC_OVERVIEWS" type="boolean" default="NO" description="Force copy of overviews of source dataset (CreateCopy())">
  {xml_node}
  <Option name="SOURCE_ICC_PROFILE" type="string" description="ICC profile">
  {xml_node}
  <Option name="SOURCE_PRIMARIES_RED" type="string" description="x,y,1.0 (xyY) red chromaticity">
  {xml_node}
  <Option name="SOURCE_PRIMARIES_GREEN" type="string" description="x,y,1.0 (xyY) green chromaticity">
  {xml_node}
  <Option name="SOURCE_PRIMARIES_BLUE" type="string" description="x,y,1.0 (xyY) blue chromaticity">
  {xml_node}
  <Option name="SOURCE_WHITEPOINT" type="string" description="x,y,1.0 (xyY) whitepoint">
  {xml_node}
  <Option name="TIFFTAG_TRANSFERFUNCTION_RED" type="string" description="Transfer function for red">
  {xml_node}
  <Option name="TIFFTAG_TRANSFERFUNCTION_GREEN" type="string" description="Transfer function for green">
  {xml_node}
  <Option name="TIFFTAG_TRANSFERFUNCTION_BLUE" type="string" description="Transfer function for blue">
  {xml_node}
  <Option name="TIFFTAG_TRANSFERRANGE_BLACK" type="string" description="Transfer range for black">
  {xml_node}
  <Option name="TIFFTAG_TRANSFERRANGE_WHITE" type="string" description="Transfer range for white">
  {xml_node}
  <Option name="STREAMABLE_OUTPUT" type="boolean" default="NO" description="Enforce a mode compatible with a streamable file">
  {xml_node}
  <Option name="GEOTIFF_KEYS_FLAVOR" type="string-select" default="STANDARD" description="Which flavor of GeoTIFF keys must be used">
  [1] <Value>STANDARD</Value>
  [2] <Value>ESRI_PE</Value>
  {xml_node}
  <Option name="GEOTIFF_VERSION" type="string-select" default="AUTO" description="Which version of GeoTIFF must be used">
  [1] <Value>AUTO</Value>
  [2] <Value>1.0</Value>
  [3] <Value>1.1</Value>
  {xml_node}
  <Option name="COLOR_TABLE_MULTIPLIER" type="string-select" description="Multiplication factor to apply to go from GDAL color table to TIFF color table" default="257">
  [1] <Value>1</Value>
  [2] <Value>256</Value>
  [3] <Value>257</Value>
  Open GDAL Datasets:
    1 S GTiff  -1522550912 143x107x1 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/storml_elev.tif
  scanning raster...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  scanning raster...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  combining 2 rasters...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  scanning raster...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  adding /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/ynp_fires_1984_2022.gpkg ...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  calculating from 1 input layer(s)...
  ================================================================================
  output written to: /home/hornik/tmp/scratch/RtmpKwKM59/rastcalcb71d749896fac.tif
  calculating from 2 input layer(s)...
  ================================================================================
  output written to: /home/hornik/tmp/scratch/RtmpKwKM59/rastcalcb71d73a8e7fb2.tif
  0...10...20...30...40...50...60...70...80...90...100 - done.
  calculating from 2 input layer(s)...
  ================================================================================
  output written to: /home/hornik/tmp/scratch/RtmpKwKM59/storml_lndscp.tif
  calculating from 1 input layer(s)...
  ================================================================================
  output written to: /vsimem/multiband-calc.tif
  calculating from 3 input layer(s)...
  ================================================================================
  output written to: /vsimem/multiband-calc-revert.tif
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdalraster/extdata/storml_elev.tif
  combining 2 rasters...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  scanning raster...
  0...10...20...30...40...50...60...70...80...90...100 - done.
  initializing destination raster...
  done
  initializing destination raster...
  done
  initializing destination raster...
  done
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  calculating from 1 input layer(s)...
  ================================================================================
  output written to: /home/hornik/tmp/scratch/RtmpKwKM59/rastcalcb71d72400ee88.tif
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  format driver cannot be determined for: /home/hornik/tmp/scratch/RtmpKwKM59/storml_evt.txt
  0...10...20...30...40...50...60...70...80...90...100 - done.
  0...10...20...30...40...50...60...70...80...90...100 - done.
  failed to access 'layer'
  'layer' does not have CreateGeomField capability
  info: open dataset successful on DSN:
    '/home/hornik/tmp/scratch/RtmpKwKM59/mtbs_perims.shp'
  info: open dataset successful on DSN:
    '/home/hornik/tmp/scratch/RtmpKwKM59/mtbs_perims.shp'
  info: open dataset successful on DSN:
    '/home/hornik/tmp/scratch/RtmpKwKM59/mtbs_perims.shp'
  info: open dataset successful on DSN:
    '/home/hornik/tmp/scratch/RtmpKwKM59/mtbs_perims.shp'
  failed to create geometry object from WKT string
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 526 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-VSIFile-class.R:46:9'): VSIFile works ──────────────────────────
  Error in `readBin(bytes, "integer", 3)`: invalid connection
  Backtrace:
      ▆
   1. ├─testthat::expect_true(is_lcp(vf$read(12))) at test-VSIFile-class.R:84:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─gdalraster (local) is_lcp(vf$read(12))
   5.   └─base::readBin(bytes, "integer", 3) at test-VSIFile-class.R:46:9
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 526 ]
  Error: Test failures
  Execution halted