deprivateR 0.2.0
New features
- Added
dep_set_api_key() for easier Census API key
management — checks for an explicit key, then the
CENSUS_API_KEY env var, and prompts interactively if
neither is found
- Added a “Getting Started” vignette covering all supported indices,
sample data workflows, and spatial output
Dependency changes
- Removed
stringr, english,
tibble, and tidyselect from Imports, reducing
hard dependencies from 14 to 10
- Bumped minimum R version to 4.4
Improvements
- Error messages now use
cli formatting (tidyverse-style)
instead of base
stop()/warning()/message()
- Internal code quality improvements: extracted shared helpers,
reduced nesting, and removed code duplication across SVI/NDI
processing
- Expanded test suite with 350+ new assertions covering all exported
functions and core internals
Bug fixes
- Fixed territory (e.g., Puerto Rico) FIPS code validation in
dep_get_index() — was incorrectly comparing abbreviations
instead of FIPS codes
- Fixed pkgdown site build failure caused by
docs/
directory conflict
deprivateR 0.1.0