tests/testthat/_snaps/projects.md

wb_project rejects unknown status

Code
  wb_project(status = "invalid")
Condition
  Error in `wb_project()`:
  ! is.null(status) || all(tolower(status) %in% c("active", "closed",  .... is not TRUE
Code
  wb_project(status = "act")
Condition
  Error in `wb_project()`:
  ! is.null(status) || all(tolower(status) %in% c("active", "closed",  .... is not TRUE
Code
  wb_project(status = c("active", "invalid"))
Condition
  Error in `wb_project()`:
  ! is.null(status) || all(tolower(status) %in% c("active", "closed",  .... is not TRUE


Try the worldbank package in your browser

Any scripts or data that you put into this service are public.

worldbank documentation built on Aug. 21, 2026, 9:07 a.m.