Skip to content

Commit 7a30c48

Browse files
Merge pull request #11 from openstatsware/remove_simulatr_from_chapter3
Remove simulatr from chapter 3 exercise
2 parents 43c3b85 + 4baecc1 commit 7a30c48

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

slides/03_quality.qmd

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -789,37 +789,32 @@ install.packages(c("DT", "htmltools",
789789
::: panel-tabset
790790
## Task 1
791791

792-
[] We learnt what *simulatr* does
793-
[] We will now make it better
794-
795-
Take your local *simulatr* package project (see [previous
796-
exercise](03_workflow.html#/tasks)) and refactor it, i.e., apply the linked
792+
Take your package project and refactor it, i.e., apply the linked
797793
clean code rules:
798794

799795
1. Optimize naming manually (CCR#1)
800-
2. Use the [styler](https://styler.r-lib.org) package to optimize the
796+
1. Use the [styler](https://styler.r-lib.org) package to optimize the
801797
formatting (CCR#2)
802-
3. Check and correct where appropriate:
798+
1. Check and correct where appropriate:
803799
- Simplicity (CCR#3)
804800
- Single Responsibility Principle (CCR#4)
805801
- Don't Repeat Yourself (CCR#5)
806802

807803
## Task 2
808804

809-
1. Implement appropriate error handling (CCR#7) in the *simulatr* package
810-
2. Add comments to explain the purpose of code blocks (CCR#6)
805+
1. Add comments to explain the purpose of code blocks (CCR#6)
811806
- If it concerns exported functions use
812807
[Roxygen2](https://roxygen2.r-lib.org/) notation
813-
3. Check correct spelling with the
808+
1. Check correct spelling with the
814809
[devtools](https://cran.r-project.org/package=devtools) function
815810
[spell_check()](https://devtools.r-lib.org/reference/spell_check.html)
816811

817812
## Task 3
818813

819-
Apply CCR#8 to the *simulatr* package project:
814+
Apply CCR#8 to your package project:
820815

821816
1. Add unit tests
822-
2. Optimize your test coverage with help of the [covr](https://covr.r-lib.org/)
817+
1. Optimize your test coverage with help of the [covr](https://covr.r-lib.org/)
823818
functions
824819
[package_coverage](https://www.rdocumentation.org/packages/covr/versions/3.6.1/topics/package_coverage)
825820
and

0 commit comments

Comments
 (0)