Skip to content

Commit dc800f3

Browse files
authored
fix: Properly alias shiny::updateTabsetPanel() (#398)
* fix: Alias `shiny::updateTabsetPanel()` to `updateTabPanel()` * docs: redocument * Increment version number to 0.7.2.9000 * chore: Add news item * `devtools::document()` (GitHub Actions) --------- Co-authored-by: gadenbuie <[email protected]>
1 parent 7ccaacc commit dc800f3

7 files changed

+24
-14
lines changed

Diff for: DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: shinydashboard
22
Title: Create Dashboards with 'Shiny'
3-
Version: 0.7.2
3+
Version: 0.7.2.9000
44
Authors@R: c(
55
person("Winston", "Chang", role = c("aut", "cre"), email = "[email protected]"),
66
person("Barbara", "Borges Ribeiro", role = "aut", email = "[email protected]"),
@@ -20,5 +20,5 @@ Imports:
2020
htmltools (>= 0.2.6),
2121
promises
2222
BugReports: https://github.com/rstudio/shinydashboard
23-
RoxygenNote: 7.1.2
23+
RoxygenNote: 7.3.2
2424
Encoding: UTF-8

Diff for: NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# shinydashboard (development version)
2+
3+
### Bug fixes
4+
5+
* Fixed [#397](https://github.com/rstudio/shinydashboard/issues/397): `updateTabItems()` is now a run-time alias of `shiny::updateTabsetPanel()`. ([#398](https://github.com/rstudio/shinydashboard/pull/398))
6+
17
shinydashboard 0.7.2
28
====================
39

Diff for: R/tabs.R

+4-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tabItem <- function(tabName = NULL, ...) {
4040
#' This function controls the active tab of \code{\link{tabItems}} from the
4141
#' server. It behaves just like \code{\link[shiny]{updateTabsetPanel}}.
4242
#'
43-
#' @inheritParams shiny::updateTabsetPanel
43+
#' @inheritDotParams shiny::updateTabsetPanel
4444
#' @examples
4545
#' ## Only run this example in interactive R sessions
4646
#' if (interactive()) {
@@ -80,4 +80,6 @@ tabItem <- function(tabName = NULL, ...) {
8080
#' shinyApp(ui, server)
8181
#' }
8282
#' @export
83-
updateTabItems <- shiny::updateTabsetPanel
83+
updateTabItems <- function(...) {
84+
shiny::updateTabsetPanel(...)
85+
}

Diff for: man/renderDropdownMenu.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: man/renderMenu.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: man/renderValueBox.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: man/updateTabItems.Rd

+8-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)