-
Notifications
You must be signed in to change notification settings - Fork 70
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
Remove {styler} dependency #1919
Comments
HI @lorenzwalthert so we have an automated Unfortunately, it pulls the styler package out of the Description File to help generate the I don't think we can remove the package right now, but we will continue to discuss if there is a better solution so we don't have so many dependencies like |
ok, thanks for the explanation. I agree that in conjunction with {renv}, it's a special case. FWIW with |
Hi @lorenzwalthert thank you for the suggestion. I think we can remove it from the The |
Ok, cool. Yes, |
Should be removed from all repositories. |
Thanks for acting so timely. Hope you can enjoy the latest {styler} release with significant speed gain 😄 |
Co-authored-by: cicdguy <26552821+cicdguy@users.noreply.github.com>
Hi, author of the formatting package {styler} here. As I judge from a search in your source code, there is no functionality that uses {styler}, in other words {styler} is not a runtime dependency. You recommend people to format their code when they contribute, so {styler} is a development dependency. Adding {styler} as a dependency to your package has the following drawbacks:
For that reason, I suggest you to drop that dependency from your package. If you want to ensure your code remains styled, I recommend {precommit} to apply {styler} on each commit or other tools described in the third-party integrations website of {styler}.
For the removal to take effect, a CRAN submission of your package is required. For tracking, this issue is referenced in r-lib/styler#1121.
The text was updated successfully, but these errors were encountered: