Skip to content

Commit

Permalink
The options control whether hyperlinks are enabled are not
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Nov 9, 2024
1 parent 9909597 commit 8ef3a37
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions R/test.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,12 @@ test_that_cli <- function(desc, code,
cli.hyperlink_vignette = links,
cli.hyperlink_run_url_format = NULL,
cli.hyperlink_help_url_format = NULL,
cli.hyperlink_vignette_url_format = NULL,
cli.hyperlink_vignette_url_format = NULL
)
withr::local_envvar(
R_CLI_HYPERLINKS = NA_character_,
R_CLI_HYPERLINK_RUN = NA_character_,
R_CLI_HYPERLINK_HELP = NA_character_,
R_CLI_HYPERLINK_VIGNETTE = NA_character_,
R_CLI_HYPERLINK_RUN_URL_FORMAT = NA_character_,
R_CLI_HYPERLINK_HELP_URL_FORMAT = NA_character_,
R_CLI_HYPERLINK_VIGNETTE_URL_FORMAT = NA_character_,
R_CLI_HYPERLINK_VIGNETTE_URL_FORMAT = NA_character_
)
code_
}, c(conf, list(code_ = code)))
Expand Down

0 comments on commit 8ef3a37

Please sign in to comment.