Skip to content

Commit

Permalink
Remove unneeded option to clarify the test case
Browse files Browse the repository at this point in the history
`options(rlang_backtrace_on_error_report = "full")` is only useful when error is not thrown by render() and kept as cell output (e.g. error = TRUE)
  • Loading branch information
cderv committed Dec 19, 2024
1 parent 26c3a68 commit 7bf2d80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/conditions/stop-error.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Backtrace:
2. global g()
3. global h()

Quitting from lines 11-15 [unnamed-chunk-2] (with-stop-error.Rmd)
Quitting from lines 10-14 [unnamed-chunk-2] (with-stop-error.Rmd)
Execution halted
1 change: 0 additions & 1 deletion tests/testthat/ressources/with-stop-error.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: document with error

```{r}
rlang::global_entrace()
options(rlang_backtrace_on_error_report = "full")
```

```{r}
Expand Down

0 comments on commit 7bf2d80

Please sign in to comment.