Commit Graph
6 Commits
Author SHA1 Message Date
jared 023aedf83a Add NEWS.md, rename LICENSE.md to LICENSE, add utility tests
R-CMD-check / R CMD check (push) Successful in 4m31s
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
jared 2f1cdcde52 Fix issues #1, #3, #5: misc improvements
R-CMD-check / R CMD check (pull_request) Failing after 4m43s
- #5: Unwrap _brand.yml for Quarto 1.9+ compatibility (remove top-level
  brand: wrapper so meta/logo/color/typography are at the top level)
- #1: Add quiet parameter to na_sum() to suppress warnings in loops/pipelines
- #3: Add beep() function for CLI beep, desktop notifications, and webhook
  alerts (supports type=beep|notify|webhook|all)
2026-06-03 19:01:30 +00:00
jared f3f13fcfe5 fix message unicode
Gitea Organization/civilyticsR/pipeline/head This commit looks good
2024-09-19 16:14:30 -04:00
Jared Knowles c6079eb515 working build
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit
2023-07-20 14:51:04 -04:00
Jared Knowles 9acebb5133 unit test match funs
Gitea Organization/civilyticsR/pipeline/head This commit looks good
2023-07-19 17:37:18 -04:00
Jared Knowles 20f65a7126 install logo correctly 2020-07-06 11:48:10 -04:00