Skip to content

Commit e8479cd

Browse files
Merge pull request #8 from openstatsware/chapter3-edits
Chapter3 edits
2 parents ee023e3 + 3982ce1 commit e8479cd

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

slides/03_quality.qmd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "3 Ensuring Quality"
3-
description: "Package quality + exercise"
3+
description: "Package quality + practical"
44
image: thumbnails/quality.jpg
55
author: Daniel Sabanés Bové
66
---
@@ -744,6 +744,7 @@ guide](https://style.tidyverse.org):
744744
- [style_pkg](https://styler.r-lib.org/reference/style_pkg.html)
745745
- [lintr](https://github.com/jimhester/lintr): perform automated checks to
746746
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
747748

748749
The [devtools](https://devtools.r-lib.org) function
749750
[spell_check](https://devtools.r-lib.org/reference/spell_check.html) runs a
@@ -788,8 +789,11 @@ install.packages(c("DT", "htmltools",
788789
::: panel-tabset
789790
## Task 1
790791

792+
[] We learnt what *simulatr* does
793+
[] We will now make it better
794+
791795
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
793797
clean code rules:
794798

795799
1. Optimize naming manually (CCR#1)
@@ -834,6 +838,8 @@ Check if your package is ready for release with the
834838
Taylor & Francis Inc. \[[Book](https://amzn.to/3Bk6elt)\]
835839
- Martin, R. (2008). Clean Code: A Handbook of Agile Software Craftsmanship
836840
(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+
837843

838844
# License information {.smaller}
839845

slides/resources/audrey.jpg

-7.04 MB
Loading
-2.39 MB
Binary file not shown.

0 commit comments

Comments
 (0)