Last updated on 2025-05-18 12:50:29 CEST.
Package | ERROR | OK |
---|---|---|
fmpapi | 13 | |
owidapi | 13 | |
tidyfinance | 13 | |
uisapi | 13 | |
wbwdi | 3 | 10 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 3, OK: 10
Version: 1.0.1
Check: examples
Result: ERROR
Running examples in ‘wbwdi-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: wdi_get_entities
> ### Title: Download all countries and regions from the World Bank API
> ### Aliases: wdi_get_entities
>
> ### ** Examples
>
> ## Don't show:
> if (curl::has_internet()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Download all entities in English
+ wdi_get_entities()
+
+ # Download all entities in Spanish
+ wdi_get_entities(language = "zh")
+ ## Don't show:
+ }) # examplesIf
> wdi_get_entities()
Error in `req_perform()`:
! HTTP 400 Bad Request.
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. └─wbwdi::wdi_get_entities()
7. └─wbwdi:::perform_request("countries/all", language, per_page)
8. └─httr2::req_perform(req)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
11. ├─rlang::catch_cnd(...)
12. │ ├─rlang::eval_bare(...)
13. │ ├─base::tryCatch(...)
14. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
17. │ └─base::force(expr)
18. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 1.0.1
Check: examples
Result: ERROR
Running examples in 'wbwdi-Ex.R' failed
The error most likely occurred in:
> ### Name: wdi_get_entities
> ### Title: Download all countries and regions from the World Bank API
> ### Aliases: wdi_get_entities
>
> ### ** Examples
>
> ## Don't show:
> if (curl::has_internet()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Download all entities in English
+ wdi_get_entities()
+
+ # Download all entities in Spanish
+ wdi_get_entities(language = "zh")
+ ## Don't show:
+ }) # examplesIf
> wdi_get_entities()
Error in `req_perform()`:
! HTTP 400 Bad Request.
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. └─wbwdi::wdi_get_entities()
7. └─wbwdi:::perform_request("countries/all", language, per_page)
8. └─httr2::req_perform(req)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
11. ├─rlang::catch_cnd(...)
12. │ ├─rlang::eval_bare(...)
13. │ ├─base::tryCatch(...)
14. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
17. │ └─base::force(expr)
18. └─rlang::abort(...)
Execution halted
Flavor: r-release-windows-x86_64