Last updated on 2025-07-30 23:51:31 CEST.
Package | ERROR | OK |
---|---|---|
rnpn | 9 | 4 |
Current CRAN status: ERROR: 9, OK: 4
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/19s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/39s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/42s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [18s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/20s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/19s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [20s]
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(rnpn)
>
> test_check("rnpn")
Downloading...
Downloading...
Downloading...
Invalid input, function expects a numeric vector as input
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3',
'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3',
'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3',
'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3',
'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3',
'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3',
'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3',
'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3',
'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3',
'test-npn-observations.R:840:3'
• unclear if this last one is supposed to work or error (1):
'test-npn-phenophases.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ─────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-npn-observations.R:139:5'): custom period works ────────────────
<vcr_unhandled/rlang_error/error/condition>
Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period".
i Use `local_vcr_configure_log()` to get more details.
i Learn more in `vignette(vcr::debugging)`.
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3
2. │ └─base::withCallingHandlers(...)
3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5
4. └─rnpn:::npn_get_data_by_year(...)
5. └─rnpn:::npn_get_data(...)
6. └─httr2::req_perform(req, path = path)
7. └─vcr (local) mock(req)
8. └─RequestHandlerHttr2$new(req)$handle()
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ]
Error: Test failures
In addition: Warning message:
`check_cassette_names()` was deprecated in vcr 2.0.0.
Execution halted
Flavor: r-oldrel-windows-x86_64