Skip to content

Create chk_all_na() - #299

Merged
joethorley merged 2 commits into
mainfrom
chk-all-na
Jul 7, 2026
Merged

Create chk_all_na()#299
joethorley merged 2 commits into
mainfrom
chk-all-na

Conversation

@StefanoMezzini

Copy link
Copy Markdown
Contributor

Added chk_all_na(), which checks all(is.na(x) using the standard chk_*() and vld_*() syntax. I've:

  • added tests based on the tests from chk_not_any_na(),
  • checked for 100% test coverage,
  • expanded the corresponding vignette (chk-families.Rmd), and
  • updated the docs.

@StefanoMezzini

Copy link
Copy Markdown
Contributor Author

I wrote this for use in check_data() when we expect entire columns to be NA (e.g., no factor levels in values, all factor levels in values are NA).

@StefanoMezzini
StefanoMezzini marked this pull request as ready for review July 6, 2026 18:16

@joethorley joethorley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

@joethorley
joethorley merged commit 511a845 into main Jul 7, 2026
11 checks passed
@joethorley
joethorley deleted the chk-all-na branch July 7, 2026 22:26
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.

2 participants