Skip to content

Add chi_check to chi_pad - #191

Open
Moohan wants to merge 5 commits into
masterfrom
184-chi_pad-performs-no-chi-checks
Open

Add chi_check to chi_pad#191
Moohan wants to merge 5 commits into
masterfrom
184-chi_pad-performs-no-chi-checks

Conversation

@Moohan

@Moohan Moohan commented Sep 1, 2026

Copy link
Copy Markdown
Member

The function now accepts additional parameters for validation checks. It also includes warnings for invalid CHI numbers after padding.

I left chi_check as FALSE to maintain backwards compatibility, but there's an argument for it being on by default, as there's no value to padding a CHI and it still being invalid.

Closes #184

The function now accepts additional parameters for validation checks. It also includes warnings for invalid CHI numbers after padding.

I left `chi_check` as `FALSE` to maintain backwards compatabilty but theres an argument for it being on by default, as there's no value to padding a CHI and it still being invalid.
@Moohan Moohan linked an issue Sep 1, 2026 that may be closed by this pull request
Moohan and others added 4 commits September 1, 2026 11:47
Also add a gate to only apply padding when needed, i.e. at least one 9-character CHI
@Moohan
Moohan marked this pull request as ready for review September 1, 2026 16:10
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 23.52941% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
R/chi_pad.R 23.5% 13 Missing ⚠️

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chi_pad() performs no CHI checks

1 participant