- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'geospatialsuite/DESCRIPTION' ... OK
- this is package 'geospatialsuite' version '0.1.1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'geospatialsuite' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [11s] OK
- checking whether the package can be loaded with stated dependencies ... [10s] OK
- checking whether the package can be unloaded cleanly ... [10s] OK
- checking whether the namespace can be loaded with stated dependencies ... [10s] OK
- checking whether the namespace can be unloaded cleanly ... [10s] OK
- checking loading without being on the library search path ... [11s] OK
- checking whether startup messages can be suppressed ... [11s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [39s] OK
- checking Rd files ... [3s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [19s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [16s] ERROR
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...
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [61s] OK
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [28s] OK
- DONE
Status: 1 ERROR