Update vignette, documentation, fix checkbox missingness logic#9
Merged
Conversation
Adds detection of checkbox fields where no options are selected (explicit no-selection state) as distinct from missing data. Updates checkbox value detection to differentiate between all-zero exports (observed no-selection) and all-NA/blank exports (missing). Includes new `checkbox_no_values_selected` info-level field finding and improves documentation of missingness and checkbox handling semantics.
rsh52
marked this pull request as ready for review
July 15, 2026 19:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR clarifies the
build_quality_report()documentation and refines how checkbox fields are evaluated. It separates meaningful no-selection states from missing checkbox data and ensures checkbox consistency checks respect form completion status.Proposed Changes
sparse_threshold, including applicable-row calculations, inclusive threshold behavior, and sensitivity implications.outlier_iqr_multiplieraffects finding sensitivity.progress = "auto","show", and"none".NAor blank checkbox set as missing on an applicable row.checkbox_no_values_selectedwhen no options are selected across applicable Unverified or Complete rows.checkbox_none_with_otherandcheckbox_no_values_selectedchecks to applicable Unverified or Complete forms.None,No,Not applicable,N/A,NA, andNone of the above.mock_quality_reportto reflect the revised status rules.Behavioral Notes
An all-zero checkbox set no longer contributes to missingness. It can produce one informational field-level finding when no options are selected anywhere across assessed rows. This finding is intended as a review prompt because the no-selection state may be valid.
Checkbox values on Incomplete forms or forms with blank completion status are not evaluated. A checked mutually exclusive option is only reported when selected with another option on an applicable Unverified or Complete form.
Validation
lintr::lint_package()air format --check .git diff --check