-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Description
To avoid accidental hyperlink generation during @includeRmd
execution. This can happen with parent errors in rlang, for example, where it tries to show you the file location the error came from.
Lines 15 to 23 in 2357de6
local_reproducible_output <- function(.envir = parent.frame()) { | |
withr::local_options( | |
crayon.enabled = FALSE, | |
cli.unicode = FALSE, | |
cli.dynamic = FALSE, | |
rlang_interactive = FALSE, | |
width = 80, | |
.local_envir = .envir | |
) |
The testthat version of this function does do that.
Metadata
Metadata
Assignees
Labels
No labels