Fix argument name in documentation

This commit is contained in:
Winston Chang
2018-07-31 15:06:59 -05:00
parent be347c3ed4
commit ba2b811172
2 changed files with 6 additions and 6 deletions

View File

@@ -89,14 +89,14 @@
#' To use different settings for a session-scoped cache, you can call
#' \code{\link{shinyOptions}()} at the top of your server function. To use
#' the session-scoped cache, you must also call \code{renderCachedPlot} with
#' \code{scope="session"}. This will create a 20 MB cache for the session:
#' \code{cache="session"}. This will create a 20 MB cache for the session:
#' \preformatted{
#' function(input, output, session) {
#' shinyOptions(cache = memoryCache(size = 20e6))
#'
#' output$plot <- renderCachedPlot(
#' ...,
#' scope = "session"
#' cache = "session"
#' )
#' }
#' }
@@ -277,7 +277,7 @@
#'
#' output$plot <- renderCachedPlot(
#' ...,
#' scope = "session"
#' cache = "session"
#' )
#' }
#'