diff --git a/R/bootstrap.R b/R/bootstrap.R index 8da43a59c..970b43400 100644 --- a/R/bootstrap.R +++ b/R/bootstrap.R @@ -172,9 +172,10 @@ setCurrentTheme <- function(theme) { #' Register a theme dependency #' -#' This function registers a function that returns an [htmlDependency()] or list -#' of such objects. If `session$setCurrentTheme()` is called, the function will -#' be re-executed, and the resulting html dependency will be sent to the client. +#' This function registers a function that returns an +#' [htmltools::htmlDependency()] or list of such objects. If +#' `session$setCurrentTheme()` is called, the function will be re-executed, and +#' the resulting html dependency will be sent to the client. #' #' Note that `func` should **not** be an anonymous function, or a function which #' is defined within the calling function. This is so that, diff --git a/R/reactives.R b/R/reactives.R index de4adfa6f..6342ba957 100644 --- a/R/reactives.R +++ b/R/reactives.R @@ -951,7 +951,10 @@ Observable <- R6Class( #' See the [Shiny tutorial](https://shiny.rstudio.com/tutorial/) for #' more information about reactive expressions. #' -#' @param x For `is.reactive()`, an object to test. For `reactive()`, an expression. When passing in a [`quo()`]sure with `reactive()`, remember to use [`rlang::inject()`] to distinguish that you are passing in the content of your quosure, not the expression of the quosure. +#' @param x For `is.reactive()`, an object to test. For `reactive()`, an +#' expression. When passing in a [`rlang::quo()`]sure with `reactive()`, +#' remember to use [`rlang::inject()`] to distinguish that you are passing in +#' the content of your quosure, not the expression of the quosure. #' @template param-env #' @templateVar x x #' @templateVar env env diff --git a/R/utils-lang.R b/R/utils-lang.R index 536c2da66..db272ebe4 100644 --- a/R/utils-lang.R +++ b/R/utils-lang.R @@ -53,8 +53,8 @@ formalsAndBody <- function(x) { #' @describeIn createRenderFunction convert a quosure to a function. #' @param q Quosure of the expression `x`. When capturing expressions to create -#' your quosure, it is recommended to use [`enquo0()`] to not unquote the -#' object too early. See [`enquo0()`] for more details. +#' your quosure, it is recommended to use [`rlang::enquo0()`] to not unquote +#' the object too early. See [`rlang::enquo0()`] for more details. #' @inheritParams installExprFunction #' @export quoToFunction <- function( diff --git a/man/createRenderFunction.Rd b/man/createRenderFunction.Rd index 4f2edccbc..d8a0a41e7 100644 --- a/man/createRenderFunction.Rd +++ b/man/createRenderFunction.Rd @@ -72,8 +72,8 @@ example, some render functions call \code{\link[=createWebDependency]{createWebD is able to serve JS and CSS resources.} \item{q}{Quosure of the expression \code{x}. When capturing expressions to create -your quosure, it is recommended to use \code{\link[=enquo0]{enquo0()}} to not unquote the -object too early. See \code{\link[=enquo0]{enquo0()}} for more details.} +your quosure, it is recommended to use \code{\link[rlang:defusing-advanced]{rlang::enquo0()}} to not unquote +the object too early. See \code{\link[rlang:defusing-advanced]{rlang::enquo0()}} for more details.} \item{label}{A label for the object to be shown in the debugger. Defaults to the name of the calling function.} diff --git a/man/reactive.Rd b/man/reactive.Rd index 6cd2725c7..cb10c6af7 100644 --- a/man/reactive.Rd +++ b/man/reactive.Rd @@ -18,7 +18,10 @@ reactive( is.reactive(x) } \arguments{ -\item{x}{For \code{is.reactive()}, an object to test. For \code{reactive()}, an expression. When passing in a \code{\link[=quo]{quo()}}sure with \code{reactive()}, remember to use \code{\link[rlang:inject]{rlang::inject()}} to distinguish that you are passing in the content of your quosure, not the expression of the quosure.} +\item{x}{For \code{is.reactive()}, an object to test. For \code{reactive()}, an +expression. When passing in a \code{\link[rlang:defusing-advanced]{rlang::quo()}}sure with \code{reactive()}, +remember to use \code{\link[rlang:inject]{rlang::inject()}} to distinguish that you are passing in +the content of your quosure, not the expression of the quosure.} \item{env}{The parent environment for the reactive expression. By default, this is the calling environment, the same as when defining an ordinary diff --git a/man/registerThemeDependency.Rd b/man/registerThemeDependency.Rd index a0359813b..8bd5aa4dd 100644 --- a/man/registerThemeDependency.Rd +++ b/man/registerThemeDependency.Rd @@ -12,9 +12,10 @@ registerThemeDependency(func) of them.} } \description{ -This function registers a function that returns an \code{\link[=htmlDependency]{htmlDependency()}} or list -of such objects. If \code{session$setCurrentTheme()} is called, the function will -be re-executed, and the resulting html dependency will be sent to the client. +This function registers a function that returns an +\code{\link[htmltools:htmlDependency]{htmltools::htmlDependency()}} or list of such objects. If +\code{session$setCurrentTheme()} is called, the function will be re-executed, and +the resulting html dependency will be sent to the client. } \details{ Note that \code{func} should \strong{not} be an anonymous function, or a function which