Skip to content

Commit 4c40b34

Browse files
Update 11-algorithms.Rmd
Close #1167
1 parent 050f777 commit 4c40b34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

11-algorithms.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Prior steps can be referred to with a comment or with an if statement such as `i
8383

8484
Unless you organise your code into a package, it is hard to enforce reproducibility in R scripts, but there are tools that can help.
8585
By default, RStudio \index{RStudio} 'code checks' R scripts and underlines faulty code with a red wavy line, as shown in Figure \@ref(fig:codecheck).
86-
The **repex** package is another tool that can help with reproducibility.
86+
The **reprex** package is another tool that can help with reproducibility.
8787

8888
```{r codecheck, echo=FALSE, fig.cap="Code checking in RStudio. This example, from the script 11-centroid-alg.R, highlights an unclosed curly bracket on line 19.", fig.scap="Illustration of 'code checking' in RStudio."}
8989
knitr::include_graphics("images/codecheck.png")

0 commit comments

Comments
 (0)