|
1 | 1 | --- |
2 | 2 | title: "3 Ensuring Quality" |
3 | | -description: "Package quality + exercise" |
| 3 | +description: "Package quality + practical" |
4 | 4 | image: thumbnails/quality.jpg |
5 | 5 | author: Daniel Sabanés Bové |
6 | 6 | --- |
@@ -744,6 +744,7 @@ guide](https://style.tidyverse.org): |
744 | 744 | - [style_pkg](https://styler.r-lib.org/reference/style_pkg.html) |
745 | 745 | - [lintr](https://github.com/jimhester/lintr): perform automated checks to |
746 | 746 | confirm that you conform to the style guide |
| 747 | +- [air](https://posit-dev.github.io/air/) : an R formatter that ensures whitespace, newlines, punctuations conform to a set of rules and standards |
747 | 748 |
|
748 | 749 | The [devtools](https://devtools.r-lib.org) function |
749 | 750 | [spell_check](https://devtools.r-lib.org/reference/spell_check.html) runs a |
@@ -788,8 +789,11 @@ install.packages(c("DT", "htmltools", |
788 | 789 | ::: panel-tabset |
789 | 790 | ## Task 1 |
790 | 791 |
|
| 792 | +[✓] We learnt what *simulatr* does |
| 793 | +[✓] We will now make it better |
| 794 | + |
791 | 795 | Take your local *simulatr* package project (see [previous |
792 | | -excercise](03_workflow.html#/tasks)) and refactor it, i.e., apply the linked |
| 796 | +exercise](03_workflow.html#/tasks)) and refactor it, i.e., apply the linked |
793 | 797 | clean code rules: |
794 | 798 |
|
795 | 799 | 1. Optimize naming manually (CCR#1) |
@@ -834,6 +838,8 @@ Check if your package is ready for release with the |
834 | 838 | Taylor & Francis Inc. \[[Book](https://amzn.to/3Bk6elt)\] |
835 | 839 | - Martin, R. (2008). Clean Code: A Handbook of Agile Software Craftsmanship |
836 | 840 | (1st Edition). Prentice Hall. \[[Book](https://amzn.to/3IKuSS4)\] |
| 841 | +- Vaughan, D. & Henry, L. Air, an extremely fast R formatter. \[[Blog](https://www.tidyverse.org/blog/2025/02/air/#installing-air)] |
| 842 | + |
837 | 843 |
|
838 | 844 | # License information {.smaller} |
839 | 845 |
|
|
0 commit comments