- 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 'rlandfire/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'rlandfire' version '2.0.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 'rlandfire' 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [0s] 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 ... [4s] OK
- checking Rd files ... [1s] 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 R/sysdata.rda ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [9s] ERROR
Running examples in 'rlandfire-Ex.R' failed
The error most likely occurred in:
> ### Name: getAOI
> ### Title: Create extent vector for 'landfireAPI()'
> ### Aliases: getAOI
>
> ### ** Examples
>
> r <- terra::rast(nrows = 50, ncols = 50,
+ xmin = -123.7835, xmax = -123.6352,
+ ymin = 41.7534, ymax = 41.8042,
+ crs = terra::crs("epsg:4326"),
+ vals = rnorm(2500))
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Error: [rast] empty srs
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [12s] ERROR
Running 'testthat.R' [12s]
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(rlandfire)
[38;5;208m
_ _ ___ _
___| |___ ___ _| | _|_|___ ___
| _| | .'| | . | _| | _| -_|
|_| |_|__,|_|_|___|_| |_|_| |___|
[0mversion:2.0.1 [38;5;160m
NOTICE: [0m
The LFPS API has been updated (LFPSv1 -> LFPSv2) and has new requirements.
To review the required parameters and syntax for LFPSv2 view `?rlandfire::landfireAPIv2`
Product names and availability may have changed, check `viewProducts()`
[38;5;160mWorkflows built before May 2025 or with `rlandfire` versions < 2.0.0 will need to be updated. [0m
>
> test_check("rlandfire")
Job Status: Succeeded
Job ID: be7fab41-867e-41a5-b594-c469f118bc49
Queue Position: -1
Job Messages:
esriJobMessageTypeInformative: Start Time: Monday, April 21, 2025 10:51:05 AM
esriJobMessageTypeInformative: AOI: -105.402073426741 40.1122440067607 -105.235264686219 40.1961284789623
esriJobMessageTypeInformative: Entering ValidateCoordinates()
esriJobMessageTypeInformative: Entering DetermineRegion()
esriJobMessageTypeInformative: region: US_
esriJobMessageTypeInformative: Exiting DetermineRegion()
esriJobMessageTypeInformative: US_SLPP2020
esriJobMessageTypeInformative: US_ELEV2020
esriJobMessageTypeInformative: US_240FBFM13
esriJobMessageTypeInformative: No Output projection input provided.
esriJobMessageTypeInformative: Entering CreateLocalProjection()
esriJobMessageTypeInformative: local projection string: PROJCS["Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-105.31866905647999],PARAMETER["Standard_Parallel_1",40.1122440067607],PARAMETER["Standard_Parallel_2",40.1961284789623],PARAMETER["Latitude_Of_Origin",40.1541862428615],UNIT["Meter",1.0]]
esriJobMessageTypeInformative: Exiting CreateLocalProjection()
esriJobMessageTypeInformative: Start creating geotif
esriJobMessageTypeInformative: Finished creating geotif
esriJobMessageTypeInformative: Start zipping of files
esriJobMessageTypeInformative: All files zipped successfully.
esriJobMessageTypeInformative: Job Finished
esriJobMessageTypeInformative: Succeeded at Monday, April 21, 2025 10:51:09 AM (Elapsed Time: 4.63 seconds)
-------------------
Elapsed time: 0.1 s (Max time: 10 s)
-------------------
Job 6f5ba39c-09f7-4f6d-97fa-543af185eb1b has been canceled
Saving _problems/test-getAOI-6.R
Saving _problems/test-getAOI-28.R
Saving _problems/test-getAOI-53.R
Saving _problems/test-getAOI-69.R
Saving _problems/test-landfireAPI-297.R
[ FAIL 5 | WARN 5 | SKIP 4 | PASS 59 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-landfireAPI.R:220:3', 'test-landfireAPI.R:251:3',
'test-landfireAPI.R:374:3', 'test-utils.R:27:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-getAOI.R:2:3'): `getAOI` works with supported object classes ───
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(...) at test-getAOI.R:2:3
2. ├─terra::rast(...)
3. │ └─terra (local) .local(x = x, ...)
4. │ └─terra:::new_rast(...)
5. │ └─terra:::character_crs(crs, "rast")
6. ├─terra::crs("epsg:4326")
7. └─terra::crs("epsg:4326")
8. └─terra (local) .local(x, ...)
9. ├─terra::rast(crs = x)
10. └─terra::rast(crs = x)
11. └─terra (local) .local(x = x, ...)
12. └─terra:::new_rast(...)
13. └─terra:::messages(r, "rast")
14. └─terra:::error(f, x@pntr$getError())
── Error ('test-getAOI.R:24:3'): `getAOI()` recognizes arguement errors ────────
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(...) at test-getAOI.R:24:3
2. ├─terra::rast(...)
3. │ └─terra (local) .local(x = x, ...)
4. │ └─terra:::new_rast(...)
5. │ └─terra:::character_crs(crs, "rast")
6. ├─terra::crs("epsg:4326")
7. └─terra::crs("epsg:4326")
8. └─terra (local) .local(x, ...)
9. ├─terra::rast(crs = x)
10. └─terra::rast(crs = x)
11. └─terra (local) .local(x = x, ...)
12. └─terra:::new_rast(...)
13. └─terra:::messages(r, "rast")
14. └─terra:::error(f, x@pntr$getError())
── Error ('test-getAOI.R:49:3'): `getAOI` returns correct extended AOI ─────────
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(...) at test-getAOI.R:49:3
2. ├─terra::rast(...)
3. │ └─terra (local) .local(x = x, ...)
4. │ └─terra:::new_rast(...)
5. │ └─terra:::character_crs(crs, "rast")
6. ├─terra::crs("epsg:4326")
7. └─terra::crs("epsg:4326")
8. └─terra (local) .local(x, ...)
9. ├─terra::rast(crs = x)
10. └─terra::rast(crs = x)
11. └─terra (local) .local(x = x, ...)
12. └─terra:::new_rast(...)
13. └─terra:::messages(r, "rast")
14. └─terra:::error(f, x@pntr$getError())
── Error ('test-getAOI.R:65:3'): `getAOI` returns correct CRS ──────────────────
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(...) at test-getAOI.R:65:3
2. ├─terra::rast(...)
3. │ └─terra (local) .local(x = x, ...)
4. │ └─terra:::new_rast(...)
5. │ └─terra:::character_crs(crs, "rast")
6. ├─terra::crs("epsg:5070")
7. └─terra::crs("epsg:5070")
8. └─terra (local) .local(x, ...)
9. ├─terra::rast(crs = x)
10. └─terra::rast(crs = x)
11. └─terra (local) .local(x = x, ...)
12. └─terra:::new_rast(...)
13. └─terra:::messages(r, "rast")
14. └─terra:::error(f, x@pntr$getError())
── Error ('test-landfireAPI.R:291:3'): `landfireAPIv2()` works with `getAOI()` ──
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(...) at test-landfireAPI.R:291:3
2. ├─terra::rast(...)
3. │ └─terra (local) .local(x = x, ...)
4. │ └─terra:::new_rast(...)
5. │ └─terra:::character_crs(crs, "rast")
6. ├─terra::crs("epsg:5070")
7. └─terra::crs("epsg:5070")
8. └─terra (local) .local(x, ...)
9. ├─terra::rast(crs = x)
10. └─terra::rast(crs = x)
11. └─terra (local) .local(x = x, ...)
12. └─terra:::new_rast(...)
13. └─terra:::messages(r, "rast")
14. └─terra:::error(f, x@pntr$getError())
[ FAIL 5 | WARN 5 | SKIP 4 | PASS 59 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s] OK
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 2 ERRORs