Last updated on 2025-12-03 05:50:51 CET.
| Package | ERROR | OK |
|---|---|---|
| rlandfire | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 2.0.1
Check: examples
Result: 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
Flavor: r-oldrel-windows-x86_64
Version: 2.0.1
Check: tests
Result: ERROR
Running 'testthat.R' [11s]
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)
<1b>[38;5;208m
_ _ ___ _
___| |___ ___ _| | _|_|___ ___
| _| | .'| | . | _| | _| -_|
|_| |_|__,|_|_|___|_| |_|_| |___|
<1b>[0mversion:2.0.1<1b>[38;5;160m
NOTICE:<1b>[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()`
<1b>[38;5;160mWorkflows built before May 2025 or with `rlandfire` versions < 2.0.0 will need to be updated.<1b>[0m
>
> test_check("rlandfire")
<0c>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
Flavor: r-oldrel-windows-x86_64