Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add centralized documentation for global rlang options (#915)
- Loading branch information
1 parent
4ca000c
commit e3c3e1e
Showing
4 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#' Global options for rlang | ||
#' | ||
#' @description | ||
#' rlang has several options which may be set globally to control | ||
#' behavior. A brief description of each is given here. If any functions | ||
#' are referenced, refer to their documentation for additional details. | ||
#' | ||
#' * `rlang_interactive`: A logical value used by [is_interactive()]. This | ||
#' can be set to `TRUE` to test interactive behavior in unit tests, | ||
#' for example. | ||
#' | ||
#' * `rlang_backtrace_on_error`: A character string which controls whether | ||
#' backtraces are displayed with error messages, and the level of | ||
#' detail they print. See [rlang_backtrace_on_error] for the possible option values. | ||
#' | ||
#' * `rlang_trace_format_srcrefs`: A logical value used to control whether | ||
#' srcrefs are printed as part of the backtrace. | ||
#' | ||
#' * `rlang_trace_top_env`: An environment which will be treated as the | ||
#' top-level environment when printing traces. See [trace_back()] | ||
#' for examples. | ||
#' @name faq-options | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,3 +280,6 @@ reference: | |
contents: | ||
- matches("weakref") | ||
- matches("wref") | ||
- title: FAQ | ||
contents: | ||
- matches("faq") |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.