Skip to content

Commit c03a671

Browse files
authored
Set cli.hyperlink = FALSE in local_reproducible_output() (#1621)
* Set `cli.hyperlink = FALSE` * NEWS bullet
1 parent 2357de6 commit c03a671

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# roxygen2 (development version)
22

3+
* `@includeRmd` now additionally sets `options(cli.hyperlink = FALSE)` to make
4+
code run in included `.Rmd`s even more consistent across sessions (#1620).
5+
36
# roxygen2 7.3.1
47

58
* S3 method export warning no longer fails if class contains `{` or `}` (#1575).

R/rd-eval.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ local_reproducible_output <- function(.envir = parent.frame()) {
1717
crayon.enabled = FALSE,
1818
cli.unicode = FALSE,
1919
cli.dynamic = FALSE,
20+
cli.hyperlink = FALSE,
2021
rlang_interactive = FALSE,
2122
width = 80,
2223
.local_envir = .envir

0 commit comments

Comments
 (0)