-
+
@@ -1049,7 +1049,7 @@ 15:00
Your turn, exercise 02
-
+
@@ -1226,7 +1226,7 @@ 07:00
Your turn, exercise 03
-
+
@@ -1373,7 +1373,7 @@ 10:00
Your turn, investigating a CRAN package
-
+
@@ -1417,7 +1417,7 @@ 03:00
Your turn, investigating source code
Hints on next slides.
-
:::
-
-
# Troubleshooting
## 1. Search
@@ -242,7 +237,6 @@ Troubleshooting strategies:
:::
-
# Moving on
@@ -471,7 +465,7 @@ Numbering and ordering differs between `traceback()` and rlang functions. ```{r, eval=FALSE, echo=TRUE, `code-line-numbers`="2"} f <- function(x) { - browser(x) + browser() x + 1 } @@ -498,8 +492,7 @@ g <- function(x) f(x) ::: columns ::: {.column width="35%"} - -Investigate objects +Investigate objects
@@ -516,28 +509,19 @@ Control execution
-::: {.small} - -| command | operation | -|---------|-------------------------| -| `n` | next statement | +::: small +| command | operation | +|---------|----------------------------------------| +| `n` | next statement | | `c` | continue (leave interactive debugging) | -| `s` | step into function call | -| `f` | finish loop / function | -| `where` | show previous calls | -| `Q` | quit debugger | +| `s` | step into function call | +| `f` | finish loop / function | +| `where` | show previous calls | +| `Q` | quit debugger | ::: - ::: - ::: - - - - - - ## Debugging your code  @@ -948,8 +932,6 @@ countdown( 2. WTF Ch 11.4 Debugging in Rmarkdown documents
-
-
## Piped expressions
@@ -974,8 +956,6 @@ gives trimmed tracebacks when using pipes - Matt Dray 2019 blog post [Fix leaky pipes in R](https://www.rostrum.blog/2019/04/07/fix-leaky-pipes/) - - ## Warnings
+
diff --git a/index.qmd b/index.qmd
index 6ec84e5..1aea1b0 100644
--- a/index.qmd
+++ b/index.qmd
@@ -17,7 +17,6 @@ execute:
# Agenda
-
Getting started
Troubleshooting
@@ -34,8 +33,6 @@ Special cases
Read the source
-
-
# Getting started
```{r}
@@ -106,8 +103,6 @@ Artwork by [\@allison_horst](https://twitter.com/allison_horst).
05:00
@@ -471,7 +465,7 @@ Numbering and ordering differs between `traceback()` and rlang functions. ```{r, eval=FALSE, echo=TRUE, `code-line-numbers`="2"} f <- function(x) { - browser(x) + browser() x + 1 } @@ -498,8 +492,7 @@ g <- function(x) f(x) ::: columns ::: {.column width="35%"} - -Investigate objects +Investigate objects
@@ -516,28 +509,19 @@ Control execution
-::: {.small} - -| command | operation | -|---------|-------------------------| -| `n` | next statement | +::: small +| command | operation | +|---------|----------------------------------------| +| `n` | next statement | | `c` | continue (leave interactive debugging) | -| `s` | step into function call | -| `f` | finish loop / function | -| `where` | show previous calls | -| `Q` | quit debugger | +| `s` | step into function call | +| `f` | finish loop / function | +| `where` | show previous calls | +| `Q` | quit debugger | ::: - ::: - ::: - - - - - - ## Debugging your code  @@ -948,8 +932,6 @@ countdown( 2. WTF Ch 11.4 Debugging in Rmarkdown documents
@@ -974,8 +956,6 @@ gives trimmed tracebacks when using pipes - Matt Dray 2019 blog post [Fix leaky pipes in R](https://www.rostrum.blog/2019/04/07/fix-leaky-pipes/) - - ## Warnings