diff --git a/R/shinywrappers.R b/R/shinywrappers.R index 11a483fbc..3649fe6cd 100644 --- a/R/shinywrappers.R +++ b/R/shinywrappers.R @@ -383,8 +383,10 @@ markOutputAttrs <- function(renderFunc, snapshotExclude = NULL, #' The corresponding HTML output tag should be `div` or `img` and have #' the CSS class name `shiny-image-output`. #' -#' @seealso For more details on how the images are generated, and how to control +#' @seealso +#' * For more details on how the images are generated, and how to control #' the output, see [plotPNG()]. +#' * Use [outputOptions()] to set general output options for an image output. #' #' @param expr An expression that returns a list. #' @inheritParams renderUI @@ -598,6 +600,7 @@ isTemp <- function(path, tempDir = tempdir(), mustExist) { #' used in an interactive RMarkdown document. #' #' @example res/text-example.R +#' @seealso [outputOptions()] #' @export renderPrint <- function(expr, env = parent.frame(), quoted = FALSE, width = getOption('width'), outputArgs=list()) @@ -719,7 +722,7 @@ renderText <- function(expr, env = parent.frame(), quoted = FALSE, #' call to [uiOutput()] when `renderUI` is used in an #' interactive R Markdown document. #' -#' @seealso [uiOutput()] +#' @seealso [uiOutput()], [outputOptions()] #' @export #' @examples #' ## Only run examples in interactive R sessions diff --git a/man/renderImage.Rd b/man/renderImage.Rd index 1695ec1d9..5c77fa1dd 100644 --- a/man/renderImage.Rd +++ b/man/renderImage.Rd @@ -125,6 +125,9 @@ shinyApp(ui, server) } } \seealso{ -For more details on how the images are generated, and how to control +\itemize{ +\item For more details on how the images are generated, and how to control the output, see \code{\link[=plotPNG]{plotPNG()}}. +\item Use \code{\link[=outputOptions]{outputOptions()}} to set general output options for an image output. +} } diff --git a/man/renderPrint.Rd b/man/renderPrint.Rd index 326d1cad2..d87a0fe36 100644 --- a/man/renderPrint.Rd +++ b/man/renderPrint.Rd @@ -126,3 +126,6 @@ vecFun() }) } +\seealso{ +\code{\link[=outputOptions]{outputOptions()}} +} diff --git a/man/renderUI.Rd b/man/renderUI.Rd index 2c99d0f80..de2344a19 100644 --- a/man/renderUI.Rd +++ b/man/renderUI.Rd @@ -52,5 +52,5 @@ shinyApp(ui, server) } \seealso{ -\code{\link[=uiOutput]{uiOutput()}} +\code{\link[=uiOutput]{uiOutput()}}, \code{\link[=outputOptions]{outputOptions()}} }