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 separate_wider_*() error messages #1520

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Fix separate_wider_*() error messages #1520

merged 1 commit into from
Nov 1, 2023

Conversation

matthewjnield
Copy link
Contributor

@matthewjnield matthewjnield commented Sep 27, 2023

Fixes #1475. The separate_wider_position() and separate_wider_regex() functions provide the too_few argument to control their behavior when one or more of the strings cannot be separated into as many pieces as the user specifies. When this happens, the error message that is displayed recommends specifying too_few as "start", rather than the valid value "align_start".

This pull request changes the error messages to recommend using "align_start" instead of "start".

* Fix separate_wider_*() error messages

Fixes #1475. The `separate_wider_position()` and `separate_wider_regex()` functions provide the `too_few` argument to control their behavior when one or more of the strings cannot be separated into as many pieces as the user specifies. When this happens, the error message that is displayed recommends specifying too_few as "start", rather than the valid value "align_start".
@hadley hadley merged commit fc3b690 into tidyverse:main Nov 1, 2023
12 checks passed
@hadley
Copy link
Member

hadley commented Nov 1, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants