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

Fixing write_dta labels checking, addressing #606 #609

Merged
merged 4 commits into from
Jul 30, 2021

Conversation

jmobrien
Copy link
Contributor

@jmobrien jmobrien commented Jun 3, 2021

Addresses #606.

Added an initial check for missing labels in has_non_integer_labels(). Previously, as_integerish() was returning FALSE when labels were missing.

Also, associated test was missing an apparently-intended line that would have caught this. Test passes now.

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

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

Thanks! Can you please add a bullet to the top of NEWS.md? It should briefly describe the change and end with (@yourname, #issuenumber).

@hadley hadley merged commit 0aabdb4 into tidyverse:master Jul 30, 2021
@hadley
Copy link
Member

hadley commented Jul 30, 2021

Thanks @jmobrien — btw if you use "fixes" or "closes" instead of "addresses", GitHub will automatically close the associated issue when the PR is merged.

@jmobrien
Copy link
Contributor Author

Glad to help. And thanks for the useful tip.

@jmobrien jmobrien deleted the write_dta_labelcheck branch July 30, 2021 19:15
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