Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-brooks committed Feb 1, 2024
1 parent 4aaa698 commit dc3d5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04_debugging.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ cat(tb)

The error is generated in the `resample()` function, which is one of the functions in the script you downloaded. You can identify which line of that code matches the code reported in the error message, which tells us that the error is generated on line 13 of `debug_case_study.R`.

Remember tha the location of an error and the cause of the error are not always the same thing. To try and understand the cause of the error, let's start the debugger by putting a `browser()` call just before line 13, like this:
Remember that the location of an error and the cause of the error are not always the same thing. To try and understand the cause of the error, let's start the debugger by putting a `browser()` call just before line 13, like this:

```{r resample-with-browser}
#| eval: false
Expand Down

0 comments on commit dc3d5a8

Please sign in to comment.