ropensci / allodb

An R package for biomass estimation at extratropical forest plots.
https://docs.ropensci.org/allodb/
GNU General Public License v3.0
36 stars 11 forks source link

TODO: Run usethis::use_tidy_style() #131

Closed maurolepore closed 3 years ago

maurolepore commented 3 years ago

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.

-- https://devguide.ropensci.org/editorguide.html

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1905


Totals Coverage Status
Change from base Build 1878: 0.0%
Covered Lines: 358
Relevant Lines: 380

💛 - Coveralls