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

Enforce explicit return()s #86

Open
Bisaloo opened this issue Oct 9, 2023 · 0 comments
Open

Enforce explicit return()s #86

Bisaloo opened this issue Oct 9, 2023 · 0 comments
Labels
blocked This feature or bugfix is blocked by an issue outside of our control

Comments

@Bisaloo
Copy link
Member

Bisaloo commented Oct 9, 2023

Once r-lib/lintr#1100 has been released.

There will be a consultation with the team to verify this is not going to cause heavy disruption.

Technical benefits I see to explicit returns:

  • can be linted (e.g., unreachable_code_linter())
  • closer to other language, thus easier to read & understand for non-R users
@Bisaloo Bisaloo added the blocked This feature or bugfix is blocked by an issue outside of our control label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This feature or bugfix is blocked by an issue outside of our control
Projects
None yet
Development

No branches or pull requests

1 participant