Running 'testthat.R' [16s]
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(geospatialsuite)
  ==================================================
  GeoSpatialSuite v0.1.1 - Reliable Spatiotemporal Analysis
  ==================================================
  Universal - 60+ Vegetation Indices - Robust & Simple
  
     Reliable terra plotting (no complex dependencies)
     60+ vegetation indices with auto band detection
     Universal mapping with quick_map()
     Enhanced NDVI with quality filtering
     Robust error handling throughout
  
  Quick Start: help(package='geospatialsuite')
  Test Package: test_geospatialsuite_package_simple()
  ==================================================
  
   All optional packages available!
  > 
  > test_check("geospatialsuite")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===                                                                   |   4%
    |                                                                            
    |======                                                                |   9%
    |                                                                            
    |============                                                          |  17%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |==================                                                    |  26%
    |                                                                            
    |===================                                                   |  28%
    |                                                                            
    |======================                                                |  32%
    |                                                                            
    |========================                                              |  35%
    |                                                                            
    |============================                                          |  39%
    |                                                                            
    |==================================                                    |  48%
    |                                                                            
    |===================================                                   |  51%
    |                                                                            
    |======================================                                |  55%
    |                                                                            
    |==========================================                            |  59%
    |                                                                            
    |================================================                      |  68%
    |                                                                            
    |======================================================                |  77%
    |                                                                            
    |===========================================================           |  84%
    |                                                                            
    |==============================================================        |  89%
    |                                                                            
    |================================================================      |  91%
    |                                                                            
    |======================================================================| 100%
  The rnaturalearthdata package needs to be installed.
  Installing the rnaturalearthdata package.
  Installing package into 'D:/temp/2025_12_12_01_50_00_16357/RtmpSuJeQC/RLIBS_e6102dcf4ff5'
  (as 'lib' is unspecified)
  Starting dynamic CDL crop analysis...
  Analyzing 2 crop codes for custom_selection
  Raster info: 25 cells, resolution: 0.200000 x 0.200000
  CRS: GEOGCRS["WGS 84 (CRS84)",
      DATUM["World Geodetic System 1984",
          ELLIPSOID["WGS 84",6378137,298.257223563,
              LENGTHUNIT["metre",1]]],
      PRIMEM["Greenwich",0,
          ANGLEUNIT["degree",0.0174532925199433]],
      CS[ellipsoidal,2],
          AXIS["geodetic longitude (Lon)",east,
              ORDER[1],
              ANGLEUNIT["degree",0.0174532925199433]],
          AXIS["geodetic latitude (Lat)",north,
              ORDER[2],
              ANGLEUNIT["degree",0.0174532925199433]],
      USAGE[
          SCOPE["unknown"],
          AREA["World"],
          BBOX[-90,-180,90,180]],
      ID["OGC","CRS84"]]
  Is geographic (lon/lat): TRUE
  Geographic coordinates detected - calculating pixel area using cellSize()
  Calculated pixel size: 37651.396360 hectares
    Code 1: 9 pixels = 338862.57 hectares
    Code 5: 8 pixels = 301211.17 hectares
  Area Analysis Summary:
    Crop: custom_selection (codes: 1, 5)
    Region: Full extent
    Total crop area: 640073.74 hectares (1581654.21 acres)
    Pixel size: 37651.396360 hectares
    Raster: 25 total pixels, 25 valid pixels
  CDL analysis completed!
  Saving _problems/test-error-handling-28.R
  Rasters have different geometries. Attempting to align...