diff --git a/404.html b/404.html index 4206c838d..519ee9723 100644 --- a/404.html +++ b/404.html @@ -39,7 +39,7 @@ shiny - 1.7.2 + 1.7.1.9003 diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index eeb3c350e..1e420c6a8 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -17,7 +17,7 @@ shiny - 1.7.2 + 1.7.1.9003 diff --git a/LICENSE-text.html b/LICENSE-text.html index 613474a12..f5fadb23e 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -17,7 +17,7 @@ shiny - 1.7.2 + 1.7.1.9003 diff --git a/TODO-promises.html b/TODO-promises.html index a2a0da67c..5e40f1f5a 100644 --- a/TODO-promises.html +++ b/TODO-promises.html @@ -17,7 +17,7 @@ shiny - 1.7.2 + 1.7.1.9003 diff --git a/apple-touch-icon-120x120.png b/apple-touch-icon-120x120.png index 06ceb4b71..12dc80fb7 100644 Binary files a/apple-touch-icon-120x120.png and b/apple-touch-icon-120x120.png differ diff --git a/apple-touch-icon-152x152.png b/apple-touch-icon-152x152.png index 557d1e245..abaa9e858 100644 Binary files a/apple-touch-icon-152x152.png and b/apple-touch-icon-152x152.png differ diff --git a/apple-touch-icon-180x180.png b/apple-touch-icon-180x180.png index b74a287d2..11767d503 100644 Binary files a/apple-touch-icon-180x180.png and b/apple-touch-icon-180x180.png differ diff --git a/apple-touch-icon-60x60.png b/apple-touch-icon-60x60.png index c97ef02cf..8714eb447 100644 Binary files a/apple-touch-icon-60x60.png and b/apple-touch-icon-60x60.png differ diff --git a/apple-touch-icon-76x76.png b/apple-touch-icon-76x76.png index 92803648d..8e7818e9c 100644 Binary files a/apple-touch-icon-76x76.png and b/apple-touch-icon-76x76.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png index 940ea412d..48a882000 100644 Binary files a/apple-touch-icon.png and b/apple-touch-icon.png differ diff --git a/authors.html b/authors.html index f01e1465c..e3b65ec44 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ shiny - 1.7.2 + 1.7.1.9003 @@ -199,13 +199,13 @@

Chang W, Cheng J, Allaire J, Sievert C, Schloerke B, Xie Y, Allen J, McPherson J, Dipert A, Borges B (2022). shiny: Web Application Framework for R. -R package version 1.7.2, https://shiny.rstudio.com/. +R package version 1.7.1.9003, https://shiny.rstudio.com/.

@Manual{,
   title = {shiny: Web Application Framework for R},
   author = {Winston Chang and Joe Cheng and JJ Allaire and Carson Sievert and Barret Schloerke and Yihui Xie and Jeff Allen and Jonathan McPherson and Alan Dipert and Barbara Borges},
   year = {2022},
-  note = {R package version 1.7.2},
+  note = {R package version 1.7.1.9003},
   url = {https://shiny.rstudio.com/},
 }
diff --git a/favicon-16x16.png b/favicon-16x16.png index e58931db2..85e589de7 100644 Binary files a/favicon-16x16.png and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png index 351ed86c9..e48594ac2 100644 Binary files a/favicon-32x32.png and b/favicon-32x32.png differ diff --git a/index.html b/index.html index 8d39cc06d..7580d0d11 100644 --- a/index.html +++ b/index.html @@ -43,7 +43,7 @@ shiny - 1.7.2 + 1.7.1.9003 @@ -89,7 +89,7 @@
  • A prebuilt set of highly sophisticated, customizable, and easy-to-use widgets (e.g., plots, tables, sliders, dropdowns, date pickers, and more).
  • An attractive default look based on Bootstrap which can also be easily customized with the bslib package or avoided entirely with more direct R bindings to HTML/CSS/JavaScript.
  • Seamless integration with R Markdown, making it easy to embed numerous applications natively within a larger dynamic document.
  • -
  • Tools for improving and monitoring performance, including native support for async programming, caching, load testing, and more.
  • +
  • Tools for improving and monitoring performance, including native support for async programming, caching, load testing, and more.
  • Modules: a framework for reducing code duplication and complexity.
  • An ability to bookmark application state and/or generate code to reproduce output(s).
  • @@ -101,18 +101,18 @@

    To install the stable version from CRAN:

    -install.packages("shiny")
    +install.packages("shiny")

    Getting Started

    Once installed, load the library and run an example:

    -library(shiny)
    -# Launches an app, with the app's source code included
    -runExample("06_tabsets")
    -# Lists more prepackaged examples
    -runExample()
    +library(shiny) +# Launches an app, with the app's source code included +runExample("06_tabsets") +# Lists more prepackaged examples +runExample()

    For more examples and inspiration, check out the Shiny User Gallery.

    For help with learning fundamental Shiny programming concepts, check out the Mastering Shiny book and the Shiny Tutorial. The former is currently more up-to-date with modern Shiny features, whereas the latter takes a deeper, more visual, dive into fundamental concepts.

    diff --git a/news/index.html b/news/index.html index 137add8f9..43d5e04d1 100644 --- a/news/index.html +++ b/news/index.html @@ -17,7 +17,7 @@ shiny - 1.7.2 + 1.7.1.9003 @@ -47,39 +47,6 @@ Source: NEWS.md -
    - -
    -

    Full changelog

    -
    -

    Breaking changes

    -
    -
    -

    New features and improvements

    -
    • Closed #1545: insertUI() now executes <script> tags. (#3630)

    • -
    • fileInput() can set the capture attribute to facilitates user access to a device’s media capture mechanism, such as a camera, or microphone, from within a file upload control (W3C HTML Media Capture). (Thanks to khaled-alshamaa, #3481)

    • -
    • Closed tidyverse/dplyr#5552: Compatibility of dplyr 1.0 (and rlang chained errors in general) with req(), validate(), and friends.

    • -
    • Closed tidyverse/dplyr#6154: Values from an actionButton() had S3 classes in the incorrect order.

    • -
    • Closed #3346: Default for ref input in runGithub() changed from "master" to "HEAD". (#3564)

    • -
    • Closed #3619: In R 4.2, splitLayout() no longer raises warnings about incorrect length in an if statement. (Thanks to @dmenne, #3625)

    • -
    -
    -

    Bug fixes

    -
    • The auto-reload feature (options(shiny.autoreload=TRUE)) was not being activated by devmode(TRUE), despite a console message asserting that it was. (#3620)

    • -
    • Closed #2297: If an error occurred in parsing a value in a bookmark query string, an error would be thrown and nothing would be restored. Now a message is displayed and that value is ignored. (Thanks to @daattali, #3385)

    • -
    • Restored the previous behavior of automatically guessing the Content-Type header for downloadHandler functions when no explicit contentType argument is supplied. (#3393)

    • -
    • Previously, updating an input value without a corresponding Input binding element did not trigger a JavaScript shiny:inputchanged event. Now, if no Input binding element is found, the shiny:inputchanged event is triggered on window.document. (#3584)

    • -
    • Closed #2955: Input and output bindings previously attempted to use el['data-input-id'], but that never worked. They now use el.getAttribute('data-input-id') instead. (#3538)

    • -
    -
    -

    Minor improvements

    -
    • When taking a test snapshot, the sort order of the json keys of the input, output, and export fields is currently sorted using the locale of the machine. This can lead to inconsistent test snapshot results. To opt-in to a consistent ordering of snapshot fields with shinytest, please set the global option options(shiny.snapshotsortc = TRUE). shinytest2 users do not need to set this value. (#3515)

    • -
    • Closed rstudio/shinytest2#222: When restoring a context (i.e., bookmarking) from a URL, Shiny now better handles a trailing = after _inputs_ and _values_. (#3648)

    • -
    • Shiny’s internal HTML dependencies are now mounted dynamically instead of statically. (#3537)

    • -
    • HTML dependencies that are sent to dynamic UI now have better type checking, and no longer require a dep.src.href field. (#3537)

    • -
    -
    -
    @@ -408,7 +375,7 @@
  • The internal URLdecode() function previously was a copy of httpuv::decodeURIComponent(), assigned at build time; now it invokes the httpuv function at run time.

  • Fixed #1840: with the release of Shiny 1.0.5, we accidently changed the relative positioning of the icon and the title text in navbarMenus and tabPanels. This fix reverts this behavior back (i.e. the icon should be to the left of the text and/or the downward arrow in case of navbarMenus). (#1848)

  • Fixed #1600: URL-encoded bookmarking did not work with sliders that had dates or date-times. (#1961)

  • -
  • Fixed #1962: File dragging and dropping broke in the presence of jQuery version 3.0 as introduced by the rhandsontable htmlwidget. (#2005)

  • +
  • Fixed #1962: File dragging and dropping broke in the presence of jQuery version 3.0 as introduced by the rhandsontable htmlwidget. (#2005)

  • Improved the error handling inside the addResourcePath() function, to give end users more informative error messages when the directoryPath argument cannot be normalized. This is especially useful for runtime: shiny_prerendered Rmd documents, like learnr tutorials. (#1968)

  • Changed script tags in reactlog (inst/www/reactive-graph.html) from HTTP to HTTPS in order to avoid mixed content blocking by most browsers. (Thanks, @jekriske-lilly! #1844)

  • Addressed #1784: runApp() will avoid port 6697, which is considered unsafe by Chrome.

  • @@ -907,12 +874,12 @@

    Installing an older version of Shiny

    If you want to install a specific version of Shiny other than the latest CRAN release, you can use the install_version() function from devtools:

    -
    -# Install devtools if you don't already have it:
    -install.package("devtools")
    -
    -# Install the last version of Shiny prior to 0.11
    -devtools::install_version("shiny", "0.10.2.2")
    + +# Install devtools if you don't already have it: +install.package("devtools") + +# Install the last version of Shiny prior to 0.11 +devtools::install_version("shiny", "0.10.2.2")

    Themes

    diff --git a/pkgdown.yml b/pkgdown.yml index c88bce896..3d1352d8f 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 2.7.3 pkgdown: 2.0.5 pkgdown_sha: ~ articles: {} -last_built: 2022-06-24T22:56Z +last_built: 2022-06-27T16:00Z diff --git a/reference/MockShinySession.html b/reference/MockShinySession.html index 7e9bd57c0..827aba1e8 100644 --- a/reference/MockShinySession.html +++ b/reference/MockShinySession.html @@ -28,7 +28,7 @@ of testServer()."> shiny - 1.7.2 + 1.7.1.9003
    @@ -205,7 +205,7 @@ user. Always NULL for a MockShinySesion.

    Method new()

    Create a new MockShinySession.

    Usage

    -

    +

    @@ -213,7 +213,7 @@ user. Always NULL for a MockShinySesion.

    Method onFlush()

    Define a callback to be invoked before a reactive flush

    Usage

    -

    MockShinySession$onFlush(fun, once = TRUE)

    +

    MockShinySession$onFlush(fun, once = TRUE)

    @@ -233,7 +233,7 @@ user. Always NULL for a MockShinySesion.

    Method onFlushed()

    Define a callback to be invoked after a reactive flush

    Usage

    -

    MockShinySession$onFlushed(fun, once = TRUE)

    +

    MockShinySession$onFlushed(fun, once = TRUE)

    @@ -253,7 +253,7 @@ user. Always NULL for a MockShinySesion.

    Method onEnded()

    Define a callback to be invoked when the session ends

    Usage

    -

    MockShinySession$onEnded(sessionEndedCallback)

    +

    MockShinySession$onEnded(sessionEndedCallback)

    @@ -269,7 +269,7 @@ user. Always NULL for a MockShinySesion.

    Method isEnded()

    Returns FALSE if the session has not yet been closed

    Usage

    -

    MockShinySession$isEnded()

    +

    MockShinySession$isEnded()

    @@ -277,7 +277,7 @@ user. Always NULL for a MockShinySesion.

    Method isClosed()

    Returns FALSE if the session has not yet been closed

    Usage

    -

    MockShinySession$isClosed()

    +

    MockShinySession$isClosed()

    @@ -285,7 +285,7 @@ user. Always NULL for a MockShinySesion.

    Method close()

    Closes the session

    Usage

    -

    MockShinySession$close()

    +

    MockShinySession$close()

    @@ -293,7 +293,7 @@ user. Always NULL for a MockShinySesion.

    Method cycleStartAction()

    Unsophisticated mock implementation that merely invokes

    Usage

    -

    MockShinySession$cycleStartAction(callback)

    +

    MockShinySession$cycleStartAction(callback)

    @@ -309,7 +309,7 @@ user. Always NULL for a MockShinySesion.

    Method fileUrl()

    Base64-encode the given file. Needed for image rendering.

    Usage

    -

    MockShinySession$fileUrl(name, file, contentType = "application/octet-stream")

    +

    MockShinySession$fileUrl(name, file, contentType = "application/octet-stream")

    @@ -334,7 +334,7 @@ user. Always NULL for a MockShinySesion.

    Sets reactive values associated with the session$inputs object and flushes the reactives.

    Usage

    -

    MockShinySession$setInputs(...)

    +

    MockShinySession$setInputs(...)

    @@ -362,7 +362,7 @@ session$setInputs(x=1, y=2) Schedules callback for execution after some number of millis milliseconds.

    Usage

    -

    MockShinySession$.scheduleTask(millis, callback)

    +

    MockShinySession$.scheduleTask(millis, callback)

    @@ -382,7 +382,7 @@ milliseconds.

    Method elapse()

    Simulate the passing of time by the given number of milliseconds.

    Usage

    -

    MockShinySession$elapse(millis)

    +

    MockShinySession$elapse(millis)

    @@ -398,7 +398,7 @@ milliseconds.

    Method .now()

    An internal method which shouldn't be used by others.

    Usage

    -

    MockShinySession$.now()

    +

    MockShinySession$.now()

    @@ -412,7 +412,7 @@ milliseconds.

    Defines an output in a way that sets private$currentOutputName appropriately.

    Usage

    -

    MockShinySession$defineOutput(name, func, label)

    +

    MockShinySession$defineOutput(name, func, label)

    @@ -437,7 +437,7 @@ appropriately.

    An internal method which shouldn't be used by others. Forces evaluation of any reactive dependencies of the output function.

    Usage

    -

    MockShinySession$getOutput(name)

    +

    MockShinySession$getOutput(name)

    @@ -458,7 +458,7 @@ output.

    Method ns()

    Returns the given id prefixed by this namespace's id.

    Usage

    -

    MockShinySession$ns(id)

    +

    MockShinySession$ns(id)

    @@ -478,7 +478,7 @@ output.

    Method flushReact()

    Trigger a reactive flush right now.

    Usage

    -

    MockShinySession$flushReact()

    +

    MockShinySession$flushReact()

    @@ -486,7 +486,7 @@ output.

    Method makeScope()

    Create and return a namespace-specific session proxy.

    Usage

    -

    MockShinySession$makeScope(namespace)

    +

    MockShinySession$makeScope(namespace)

    @@ -509,7 +509,7 @@ only if it has not previously been set. This ensures that only the environment of the outermost module under test is the one retained. In other words, the first assignment wins.

    Usage

    -

    MockShinySession$setEnv(env)

    +

    MockShinySession$setEnv(env)

    @@ -532,7 +532,7 @@ flush. Note that this method may be called multiple times if modules are nested. The last assignment, corresponding to an invocation of setReturned() in the outermost module, wins.

    Usage

    -

    MockShinySession$setReturned(value)

    +

    MockShinySession$setReturned(value)

    @@ -552,7 +552,7 @@ setReturned() in the outermost module, wins.

    Method getReturned()

    Get the value returned by the module call.

    Usage

    -

    MockShinySession$getReturned()

    +

    MockShinySession$getReturned()

    @@ -565,7 +565,7 @@ setReturned() in the outermost module, wins.

    Generate a distinct character identifier for use as a proxy namespace.

    Usage

    -

    MockShinySession$genId()

    +

    MockShinySession$genId()

    @@ -578,7 +578,7 @@ namespace.

    Provides a way to access the root MockShinySession from any descendant proxy.

    Usage

    -

    MockShinySession$rootScope()

    +

    MockShinySession$rootScope()

    @@ -590,7 +590,7 @@ any descendant proxy.

    Method unhandledError()

    Called by observers when a reactive expression errors.

    Usage

    -

    MockShinySession$unhandledError(e)

    +

    MockShinySession$unhandledError(e)

    @@ -606,7 +606,7 @@ any descendant proxy.

    Method freezeValue()

    Freeze a value until the flush cycle completes.

    Usage

    -

    MockShinySession$freezeValue(x, name)

    +

    MockShinySession$freezeValue(x, name)

    @@ -630,7 +630,7 @@ return value is a function which unregisters the callback. If multiple callbacks are registered, the order in which they are invoked is not guaranteed.

    Usage

    -

    MockShinySession$onSessionEnded(sessionEndedCallback)

    +

    MockShinySession$onSessionEnded(sessionEndedCallback)

    @@ -646,7 +646,7 @@ guaranteed.

    Method registerDownload()

    Associated a downloadable file with the session.

    Usage

    -

    MockShinySession$registerDownload(name, filename, contentType, content)

    +

    MockShinySession$registerDownload(name, filename, contentType, content)

    @@ -680,7 +680,7 @@ function.)

    Get information about the output that is currently being executed.

    Usage

    -

    MockShinySession$getCurrentOutputInfo()

    +

    MockShinySession$getCurrentOutputInfo()

    @@ -694,7 +694,7 @@ output, or NULL if no output is currently executing.

    Method clone()

    The objects of this class are cloneable with this method.

    Usage

    -

    MockShinySession$clone(deep = FALSE)

    +

    MockShinySession$clone(deep = FALSE)

    @@ -712,14 +712,14 @@ output, or NULL if no output is currently executing.

    Examples

    -
    
    -## ------------------------------------------------
    -## Method `MockShinySession$setInputs`
    -## ------------------------------------------------
    -
    -if (FALSE) {
    -session$setInputs(x=1, y=2)
    -}
    +    
    
    +## ------------------------------------------------
    +## Method `MockShinySession$setInputs`
    +## ------------------------------------------------
    +
    +if (FALSE) {
    +session$setInputs(x=1, y=2)
    +}
     
    diff --git a/reference/NS.html b/reference/NS.html index a669b560a..c5de3213c 100644 --- a/reference/NS.html +++ b/reference/NS.html @@ -19,7 +19,7 @@ modules. See https://shiny.rstudio.com/articles/modules.html."> shiny - 1.7.2 + 1.7.1.9003
    @@ -57,9 +57,9 @@ modules. See -
    NS(namespace, id = NULL)
    -
    -ns.sep
    +
    NS(namespace, id = NULL)
    +
    +ns.sep
    @@ -96,12 +96,12 @@ function.

    Method new()

    Creates a new progress panel (but does not display it).

    Usage

    -

    Progress$new(
    -  session = getDefaultReactiveDomain(),
    -  min = 0,
    -  max = 1,
    -  style = getShinyOption("progress.style", default = "notification")
    -)

    +

    Progress$new(
    +  session = getDefaultReactiveDomain(),
    +  min = 0,
    +  max = 1,
    +  style = getShinyOption("progress.style", default = "notification")
    +)

    @@ -136,7 +136,7 @@ is for backward-compatibility).

    Updates the progress panel. When called the first time, the progress panel is displayed.

    Usage

    -

    Progress$set(value = NULL, message = NULL, detail = NULL)

    +

    Progress$set(value = NULL, message = NULL, detail = NULL)

    @@ -168,7 +168,7 @@ relative to message.

    is that inc increases the progress bar by amount, instead of setting it to a specific value.

    Usage

    -

    Progress$inc(amount = 0.1, message = NULL, detail = NULL)

    +

    Progress$inc(amount = 0.1, message = NULL, detail = NULL)

    @@ -197,7 +197,7 @@ relative to message.

    Method getMin()

    Returns the minimum value.

    Usage

    -

    Progress$getMin()

    +

    Progress$getMin()

    @@ -205,7 +205,7 @@ relative to message.

    Method getMax()

    Returns the maximum value.

    Usage

    -

    Progress$getMax()

    +

    Progress$getMax()

    @@ -213,7 +213,7 @@ relative to message.

    Method getValue()

    Returns the current value.

    Usage

    -

    Progress$getValue()

    +

    Progress$getValue()

    @@ -222,7 +222,7 @@ relative to message.

    Removes the progress panel. Future calls to set and close will be ignored.

    Usage

    -

    Progress$close()

    +

    Progress$close()

    @@ -230,7 +230,7 @@ relative to message.

    Method clone()

    The objects of this class are cloneable with this method.

    Usage

    -

    Progress$clone(deep = FALSE)

    +

    Progress$clone(deep = FALSE)

    @@ -248,31 +248,31 @@ relative to message.

    Examples

    -
    ## Only run examples in interactive R sessions
    -if (interactive()) {
    -
    -ui <- fluidPage(
    -  plotOutput("plot")
    -)
    -
    -server <- function(input, output, session) {
    -  output$plot <- renderPlot({
    -    progress <- Progress$new(session, min=1, max=15)
    -    on.exit(progress$close())
    -
    -    progress$set(message = 'Calculation in progress',
    -                 detail = 'This may take a while...')
    -
    -    for (i in 1:15) {
    -      progress$set(value = i)
    -      Sys.sleep(0.5)
    -    }
    -    plot(cars)
    -  })
    -}
    -
    -shinyApp(ui, server)
    -}
    +    
    ## Only run examples in interactive R sessions
    +if (interactive()) {
    +
    +ui <- fluidPage(
    +  plotOutput("plot")
    +)
    +
    +server <- function(input, output, session) {
    +  output$plot <- renderPlot({
    +    progress <- Progress$new(session, min=1, max=15)
    +    on.exit(progress$close())
    +
    +    progress$set(message = 'Calculation in progress',
    +                 detail = 'This may take a while...')
    +
    +    for (i in 1:15) {
    +      progress$set(value = i)
    +      Sys.sleep(0.5)
    +    }
    +    plot(cars)
    +  })
    +}
    +
    +shinyApp(ui, server)
    +}
     
    diff --git a/reference/absolutePanel.html b/reference/absolutePanel.html index 7dc0b56e0..270b4ef98 100644 --- a/reference/absolutePanel.html +++ b/reference/absolutePanel.html @@ -17,7 +17,7 @@ shiny - 1.7.2 + 1.7.1.9003
    @@ -53,30 +53,30 @@
    -
    absolutePanel(
    -  ...,
    -  top = NULL,
    -  left = NULL,
    -  right = NULL,
    -  bottom = NULL,
    -  width = NULL,
    -  height = NULL,
    -  draggable = FALSE,
    -  fixed = FALSE,
    -  cursor = c("auto", "move", "default", "inherit")
    -)
    -
    -fixedPanel(
    -  ...,
    -  top = NULL,
    -  left = NULL,
    -  right = NULL,
    -  bottom = NULL,
    -  width = NULL,
    -  height = NULL,
    -  draggable = FALSE,
    -  cursor = c("auto", "move", "default", "inherit")
    -)
    +
    absolutePanel(
    +  ...,
    +  top = NULL,
    +  left = NULL,
    +  right = NULL,
    +  bottom = NULL,
    +  width = NULL,
    +  height = NULL,
    +  draggable = FALSE,
    +  fixed = FALSE,
    +  cursor = c("auto", "move", "default", "inherit")
    +)
    +
    +fixedPanel(
    +  ...,
    +  top = NULL,
    +  left = NULL,
    +  right = NULL,
    +  bottom = NULL,
    +  width = NULL,
    +  height = NULL,
    +  draggable = FALSE,
    +  cursor = c("auto", "move", "default", "inherit")
    +)
    diff --git a/reference/actionButton.html b/reference/actionButton.html index 062287786..53d1888a7 100644 --- a/reference/actionButton.html +++ b/reference/actionButton.html @@ -18,7 +18,7 @@ each time it is pressed.">