Last updated on 2024-06-07 00:54:29 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
GIFT | 1 | 7 | 5 |
Current CRAN status: ERROR: 1, NOTE: 7, OK: 5
Version: 1.3.2
Check: installed package size
Result: NOTE
installed size is 6.1Mb
sub-directories of 1Mb or more:
doc 3.4Mb
help 2.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.3.2
Check: tests
Result: ERROR
Running 'testthat.R' [17s]
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(GIFT)
>
> test_check("GIFT")
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
Either the API is wrongly specified or the server is down.
[ FAIL 27 | WARN 1 | SKIP 0 | PASS 12 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-GIFT_checklists.R:20:3'): invalid inputs ───────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_checklists.R:20:3
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. └─GIFT::GIFT_checklists(taxon_name = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_checklists_conditional.R:30:3'): invalid inputs ───────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_checklists_conditional.R:30:3
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. └─GIFT::GIFT_checklists_conditional(taxon_name = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_checklists_raw.R:15:3'): invalid inputs ───────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_checklists_raw.R:15:3
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. └─GIFT::GIFT_checklists_raw(ref_ID = NULL, list_ID = NULL)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_coverage.R:19:3'): invalid inputs ─────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_coverage.R:19:3
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. └─GIFT::GIFT_coverage(what = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_env.R:25:3'): invalid inputs ──────────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_env.R:25:3
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. └─GIFT::GIFT_env(sumstat = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_env_meta_misc.R:20:3'): invalid inputs ────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_env_meta_misc.R:20:3
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. └─GIFT::GIFT_env_meta_misc(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_env_meta_raster.R:20:3'): invalid inputs ──────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_env_meta_raster.R:20:3
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. └─GIFT::GIFT_env_meta_raster(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_lists.R:5:3'): data frame output format ───────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-GIFT_lists.R:5:3
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. └─GIFT::GIFT_lists(GIFT_version = "beta")
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_lists.R:22:3'): invalid inputs ────────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_lists.R:22:3
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. └─GIFT::GIFT_lists(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_no_overlap.R:16:3'): invalid inputs ───────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_no_overlap.R:16:3
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. └─GIFT::GIFT_no_overlap(entity_IDs = NULL)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_overlap.R:14:1'): invalid inputs ──────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_overlap.R:14:1
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. └─GIFT::GIFT_overlap(resource = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_phylogeny.R:15:3'): invalid inputs ────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_phylogeny.R:15:3
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. └─GIFT::GIFT_phylogeny(clade = NA, GIFT_version = "beta")
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_references.R:23:3'): invalid inputs ───────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_references.R:23:3
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. └─GIFT::GIFT_references(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_regions.R:24:3'): invalid inputs ──────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_regions.R:24:3
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. └─GIFT::GIFT_regions(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_richness.R:17:3'): invalid inputs ─────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_richness.R:17:3
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. └─GIFT::GIFT_richness(taxon_name = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_shapes.R:24:3'): invalid inputs ───────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_shapes.R:24:3
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. └─GIFT::GIFT_shapes(entity_ID = c(677, 200), GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_spatial.R:23:3'): data frame output format ────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_spatial.R:23:3
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. └─GIFT::GIFT_spatial(shp = NULL, coordinates = NULL)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_species.R:20:3'): invalid inputs ──────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_species.R:20:3
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. └─GIFT::GIFT_species(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_species_distribution.R:20:3'): invalid inputs ─────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_species_distribution.R:20:3
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. └─GIFT::GIFT_species_distribution(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_species_lookup.R:14:3'): invalid inputs ───────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_species_lookup.R:14:3
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. └─GIFT::GIFT_species_lookup(genus = 1)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_taxgroup.R:20:3'): invalid inputs ─────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_taxgroup.R:20:3
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. └─GIFT::GIFT_taxgroup(work_ID = c(1:5), GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_taxonomy.R:25:3'): invalid inputs ─────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_taxonomy.R:25:3
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. └─GIFT::GIFT_taxonomy(GIFT_version = 1)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_traits.R:21:3'): invalid inputs ───────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_traits.R:21:3
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. └─GIFT::GIFT_traits(bias_deriv = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_traits_meta.R:19:1'): invalid inputs ──────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_traits_meta.R:19:1
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. └─GIFT::GIFT_traits_meta(GIFT_version = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_traits_raw.R:19:3'): invalid inputs ───────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_traits_raw.R:19:3
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. └─GIFT::GIFT_traits_raw(bias_deriv = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_traits_tax.R:20:3'): invalid inputs ───────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(resp)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: gift.uni-goettingen.de
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-GIFT_traits_tax.R:20:3
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. └─GIFT::GIFT_traits_tax(trait_IDs = NA)
8. └─GIFT:::check_api(api)
9. ├─httr2::resp_status_desc(httr2::req_perform(resp))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(resp)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
── Error ('test-GIFT_versions.R:5:3'): data frame output format ────────────────
Error in `open.connection(con, "rb")`: cannot open the connection to 'https://gift.uni-goettingen.de/api/index.php?query=versions'
Backtrace:
▆
1. └─GIFT::GIFT_versions() at test-GIFT_versions.R:5:3
2. └─jsonlite::read_json(...)
3. └─jsonlite::parse_json(...)
4. └─jsonlite:::parse_and_simplify(...)
5. └─jsonlite:::parseJSON(txt, bigint_as_char)
6. └─jsonlite:::parse_con(txt, bigint_as_char)
7. ├─base::open(con, "rb")
8. └─base::open.connection(con, "rb")
[ FAIL 27 | WARN 1 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64