CRAN Package Check Results for Package rlandfire

Last updated on 2025-07-04 05:49:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 4.69 73.41 78.10 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 3.76 48.68 52.44 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.0 117.42 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 136.32 OK
r-devel-windows-x86_64 2.0.0 7.00 237.00 244.00 OK
r-patched-linux-x86_64 2.0.0 4.72 66.87 71.59 OK
r-release-linux-x86_64 2.0.0 4.42 67.86 72.28 OK
r-release-macos-arm64 2.0.0 185.00 OK
r-release-macos-x86_64 2.0.0 253.00 OK
r-release-windows-x86_64 2.0.0 7.00 221.00 228.00 OK
r-oldrel-macos-arm64 2.0.0 220.00 OK
r-oldrel-macos-x86_64 2.0.0 271.00 OK
r-oldrel-windows-x86_64 2.0.0 8.00 297.00 305.00 OK

Check Details

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [0m/16m] 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.0<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: Removed Job ID: be7fab41-867e-41a5-b594-c469f118bc49 Queue Position: -1 Job Messages: esriJobMessageTypeError: The requested job is too old to get status messages for. ------------------- Elapsed time: 0.1 s (Max time: 10 s) ------------------- Job 6f5ba39c-09f7-4f6d-97fa-543af185eb1b has been canceled [ FAIL 6 | WARN 0 | SKIP 2 | PASS 71 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-landfireAPI.R:245:3', 'test-utils.R:27:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-landfireAPI.R:117:5'): `landfireAPIv2()` formats priority requests correctly ── Error in `httr2::resp_body_json(response)`: Unexpected content type "NA". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. └─rlandfire::landfireAPIv2(...) at test-landfireAPI.R:117:5 2. └─rlandfire:::.checkStatus_internal(...) 3. └─httr2::resp_body_json(response) 4. └─httr2::resp_check_content_type(...) 5. └─httr2:::check_content_type(...) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-landfireAPI.R:124:5'): `landfireAPIv2()` returns expected messages ── Error in `httr2::resp_body_json(req, simplifyVector = TRUE)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-landfireAPI.R:124:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─rlandfire::landfireAPIv2(products, aoi, email, priority_code = priority_code) 8. └─httr2::resp_body_json(req, simplifyVector = TRUE) 9. └─httr2::resp_check_content_type(...) 10. └─httr2:::check_content_type(...) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) ── Error ('test-landfireAPI.R:151:5'): `landfireAPIv2()` recognizes failed call ── Error in `httr2::resp_body_json(req, simplifyVector = TRUE)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-landfireAPI.R:151:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─rlandfire::landfireAPIv2(products, aoi, email, projection, path = path) 8. └─httr2::resp_body_json(req, simplifyVector = TRUE) 9. └─httr2::resp_check_content_type(...) 10. └─httr2:::check_content_type(...) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) ── Error ('test-landfireAPI.R:166:5'): `landfireAPIv2()` edge cases ──────────── Error in `httr2::resp_body_json(req, simplifyVector = TRUE)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. └─rlandfire::landfireAPIv2(...) at test-landfireAPI.R:166:5 2. └─httr2::resp_body_json(req, simplifyVector = TRUE) 3. └─httr2::resp_check_content_type(...) 4. └─httr2:::check_content_type(...) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) ── Error ('test-landfireAPI.R:187:5'): `landfireAPIv2()` works with `getAOI()` ── Error in `httr2::resp_body_json(req, simplifyVector = TRUE)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. └─rlandfire::landfireAPIv2(...) at test-landfireAPI.R:187:5 2. └─httr2::resp_body_json(req, simplifyVector = TRUE) 3. └─httr2::resp_check_content_type(...) 4. └─httr2:::check_content_type(...) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) ── Error ('test-landfireAPI.R:206:5'): `landfireAPIv2()` works with `getZone()` ── Error in `httr2::resp_body_json(req, simplifyVector = TRUE)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. └─rlandfire::landfireAPIv2(...) at test-landfireAPI.R:206:5 2. └─httr2::resp_body_json(req, simplifyVector = TRUE) 3. └─httr2::resp_check_content_type(...) 4. └─httr2:::check_content_type(...) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 2 | PASS 71 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc