This PR intends to style the code following https://style.tidyverse.org/ -- the styleguide that rOpenSci recommends.
This can be done with usethis::use_tidy_style() plus styler::style_file("README.Rmd"). I do not run those commands now because they would change the layout of the code quite dramatically and that would make your review difficult. You may leave this PR for after you merged all other open PRs.
Once this is done, it's good practice to always style the code on every PR. That way the style changes are small each time. For convenience, here I added a workflow file that enables styling directly from github, by writing a new PR comment with the keyword style/. See https://usethis.r-lib.org/reference/use_github_action.html#use-github-action-pr-commands-
Wherever possible when asking for changes, direct authors to automatic tools such as usethis and styler, and to online resources (sections of this guide, sections of the R packages book) to make your feedback easier to use. Example of editor’s checks.
This PR intends to style the code following https://style.tidyverse.org/ -- the styleguide that rOpenSci recommends.
This can be done with
usethis::use_tidy_style()
plusstyler::style_file("README.Rmd")
. I do not run those commands now because they would change the layout of the code quite dramatically and that would make your review difficult. You may leave this PR for after you merged all other open PRs.Once this is done, it's good practice to always style the code on every PR. That way the style changes are small each time. For convenience, here I added a workflow file that enables styling directly from github, by writing a new PR comment with the keyword
style/
. See https://usethis.r-lib.org/reference/use_github_action.html#use-github-action-pr-commands--- https://devguide.ropensci.org/editorguide.html