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

Run styler::style_pkg() to make code formatting more consistent #160

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

chartgerink
Copy link
Member

This PR runs styler::style_pkg() to style the codebase (according to the tidyverse specs). I am introducing this PR because:

  • The package code style deviates from the general Epiverse-TRACE style
  • This deviation is not documented and creates ambiguity as to what style is applied
  • Because the style is not defined, it is unclear how to contribute in style code
  • It is also unclear whether the style is applied consistently throughout the current codebase

By running styler::style_pkg() I am attempting to create a baseline and ensure that future contributions can be confident. In case this is not desirable, I would like to request explicit documentation as to what code style is applied (e.g., in the package vignette). I realize we do not have hard standards on this in the blueprints at this time, and I do think there is value in a consistent and clear code style for the code, the maintainer, and for the contributors.

@Karim-Mane Karim-Mane self-requested a review July 25, 2024 17:31
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.

3 participants