You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 11-algorithms.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Prior steps can be referred to with a comment or with an if statement such as `i
83
83
84
84
Unless you organise your code into a package, it is hard to enforce reproducibility in R scripts, but there are tools that can help.
85
85
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.
87
87
88
88
```{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."}
0 commit comments