Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🐛 verify function actually throws error #128

Merged
merged 9 commits into from
Aug 16, 2024

Conversation

lwjohnst86
Copy link
Member

This function should have thrown an error but didn't (mainly because I didn't yet know how to make give a useful error message). Now it does!

#' osdc:::verify_required_variables(example_bef_data, "bef")
verify_required_variables <- function(data, register) {
#' verify_required_variables(register_data$bef, "bef")
#' verify_required_variables(register_data$bef, "lpr_adm")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Possible typo? should this be ...(register_data$lpr_adm, "lpr_adm")?

R/verify-variables.R Outdated Show resolved Hide resolved
Copy link
Contributor

@signekb signekb left a comment

Choose a reason for hiding this comment

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

This is very niceee 👍

@lwjohnst86 lwjohnst86 merged commit c018be6 into main Aug 16, 2024
2 of 3 checks passed
@lwjohnst86 lwjohnst86 deleted the fix/verify-function-actually-throws-error branch August 16, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants