Closing bracket missing (#4150)

* type

* typo
This commit is contained in:
bart1
2024-11-01 15:05:20 +01:00
committed by GitHub
parent 79af1d6c92
commit 7785a76a67
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ utils::globalVariables(".GenericCallEnv", add = TRUE)
#' cache by putting this at the top of your app.R, server.R, or global.R: #' cache by putting this at the top of your app.R, server.R, or global.R:
#' #'
#' ``` #' ```
#' shinyOptions(cache = cachem::cache_disk(file.path(dirname(tempdir()), "myapp-cache")) #' shinyOptions(cache = cachem::cache_disk(file.path(dirname(tempdir()), "myapp-cache")))
#' ``` #' ```
#' #'
#' This will create a subdirectory in your system temp directory named #' This will create a subdirectory in your system temp directory named

View File

@@ -182,7 +182,7 @@ If you want to use a cache that is shared across multiple R processes, you
can use a \code{\link[cachem:cache_disk]{cachem::cache_disk()}}. You can create a application-level shared can use a \code{\link[cachem:cache_disk]{cachem::cache_disk()}}. You can create a application-level shared
cache by putting this at the top of your app.R, server.R, or global.R: cache by putting this at the top of your app.R, server.R, or global.R:
\if{html}{\out{<div class="sourceCode">}}\preformatted{shinyOptions(cache = cachem::cache_disk(file.path(dirname(tempdir()), "myapp-cache")) \if{html}{\out{<div class="sourceCode">}}\preformatted{shinyOptions(cache = cachem::cache_disk(file.path(dirname(tempdir()), "myapp-cache")))
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}
This will create a subdirectory in your system temp directory named This will create a subdirectory in your system temp directory named