tests/testthat/_snaps/pip.md

PIP poverty inputs must be within the range accepted by the API

Code
  pip_data(povline = -1)
Condition
  Error in `pip_data()`:
  ! is_number(povline, lower = 0, upper = 2700, null_ok = TRUE) is not TRUE
Code
  pip_data(povline = 2700.1)
Condition
  Error in `pip_data()`:
  ! is_number(povline, lower = 0, upper = 2700, null_ok = TRUE) is not TRUE
Code
  pip_data(povline = NULL, popshare = 1.5)
Condition
  Error in `pip_data()`:
  ! is_number(popshare, lower = 0, upper = 1, null_ok = TRUE) is not TRUE
Code
  pip_cp(povline = -1)
Condition
  Error in `pip_cp()`:
  ! is_number(povline, lower = 0, upper = 2700, null_ok = TRUE) is not TRUE
Code
  pip_group(povline = NULL, popshare = 50)
Condition
  Error in `pip_group()`:
  ! is_number(popshare, lower = 0, upper = 1, null_ok = TRUE) is not TRUE

PIP version inputs reject values that are not 8 or 4 digits

Code
  pip_data(release_version = "v20260324")
Condition
  Error in `pip_data()`:
  ! is_version(release_version, 8L, null_ok = TRUE) is not TRUE
Code
  pip_data(ppp_version = "2017a")
Condition
  Error in `pip_data()`:
  ! is_version(ppp_version, 4L, null_ok = TRUE) is not TRUE
Code
  pip_cp(release_version = 2026)
Condition
  Error in `pip_cp()`:
  ! is_version(release_version, 8L, null_ok = TRUE) is not TRUE
Code
  pip_group(ppp_version = 20170101)
Condition
  Error in `pip_group()`:
  ! is_version(ppp_version, 4L, null_ok = TRUE) 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.