R Under development (unstable) (2024-06-02 r86665 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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.8.4, released 2024/02/08, GEOS 3.12.1, PROJ 9.3.1 > > test_check("gdalraster") ERROR 6: Unknown option name '--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 ERROR 1: Deleting D:\temp\RtmpUJn3Rq/testbyte.tif failed: Permission denied 0...10...20...30...40...50...60...70...80...90...100 - done. calculating from 1 input layer(s)... ================================================================================ output written to: D:\temp\RtmpUJn3Rq/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. ERROR 1: Input file too large to be opened failed to ingest file cannot set access while the file is open 'access' should be 'r', 'r+' or 'w' 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: D:\temp\RtmpUJn3Rq/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: D:\temp\RtmpUJn3Rq\rastcalc3e942e34707.tif 0...10...20...30...40...50...60...70...80...90...100 - done. ERROR 5: D:/RCompile/CRANincoming/R-devel/lib/gdalraster/extdata/storml_evt.tif: GDALDataset::GetRasterBand(2) - Illegal band # ERROR 4: _err_: No such file or directory ERROR 5: D:\temp\RtmpUJn3Rq/storml_evt_mmu2.tif: GDALDataset::GetRasterBand(2) - Illegal band # ERROR 4: _err_: No such file or directory ERROR 5: D:\temp\RtmpUJn3Rq\rastcalc3e942e34707.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 `D:/RCompile/CRANincoming/R-devel/lib/gdalraster/extdata/ynp_fires_1984_2022.gpkg' using driver `GPKG' successful. 1: mtbs_perims (Multi Polygon) { "description":"D:/RCompile/CRANincoming/R-devel/lib/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 D:/RCompile/CRANincoming/R-devel/lib/gdalraster/extdata/storml_evt.tif ... 0...10...20...30...40...50...60...70...80...90...100 - done. adding D:/RCompile/CRANincoming/R-devel/lib/gdalraster/extdata/storml_evc.tif ... 0...10...20...30...40...50...60...70...80...90...100 - done. adding D:/RCompile/CRANincoming/R-devel/lib/gdalraster/extdata/storml_evh.tif ... 0...10...20...30...40...50...60...70...80...90...100 - done. {xml_node}