Files
civilyticsR/.Rbuildignore
T
jared 023aedf83a
R-CMD-check / R CMD check (push) Successful in 4m31s
Add NEWS.md, rename LICENSE.md to LICENSE, add utility tests
Issue #3: Create NEWS.md documenting version 0.3.2 changes for CRAN
compliance — R requires a news file at submission.

Issue #4: Rename LICENSE.md -> LICENSE per R packaging conventions so the
LGPL-3 license ships correctly in built tarballs. Updated .Rbuildignore to
remove the ^LICENSE\.md$ exclusion and add ^NEWS\.md$.

Issue #5: Add comprehensive test coverage for three previously untested
exported utility functions in tests/testthat/test_utils.R:
  - postcode_lookup(): returns correct abbreviations, handles DC/Puerto Rico,
    is vectorized, returns NA for unknown states, matches all state.name entries
  - race_short_names(): maps all NCES categories correctly, coerces factors to
    character, passes through unrecognized values unchanged, handles empty input,
    and exhaustively verifies against a reference implementation across every
    variant string the function accepts
  - get_fips(): errors gracefully when tidycensus is absent with an informative
    message; returns correct FIPS codes (MT=30, CA=06) when installed

All 21 new test blocks pass. The pre-existing na_sum quiet=TRUE failure in
test_utils.R line 63 was not introduced by these changes.
2026-08-09 13:59:18 -04:00

12 lines
164 B
Plaintext

^.*\.Rproj$
^\.Rproj\.user$
^\.github$
^\.gitea$
^README\.Rmd$
^NEWS\.md$
^Makefile$
^Dockerfile$
^\.claude$
^\.playwright-mcp$
^civilytics-site\.png$
^Rplots\.pdf$