Skip to content

fix: Properly alias shiny::updateTabsetPanel() #398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinydashboard
Title: Create Dashboards with 'Shiny'
Version: 0.7.2
Version: 0.7.2.9000
Authors@R: c(
person("Winston", "Chang", role = c("aut", "cre"), email = "[email protected]"),
person("Barbara", "Borges Ribeiro", role = "aut", email = "[email protected]"),
Expand All @@ -20,5 +20,5 @@ Imports:
htmltools (>= 0.2.6),
promises
BugReports: https://github.com/rstudio/shinydashboard
RoxygenNote: 7.1.2
RoxygenNote: 7.3.2
Encoding: UTF-8
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# shinydashboard (development version)

### Bug fixes

* 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))

shinydashboard 0.7.2
====================

Expand Down
6 changes: 4 additions & 2 deletions R/tabs.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tabItem <- function(tabName = NULL, ...) {
#' This function controls the active tab of \code{\link{tabItems}} from the
#' server. It behaves just like \code{\link[shiny]{updateTabsetPanel}}.
#'
#' @inheritParams shiny::updateTabsetPanel
#' @inheritDotParams shiny::updateTabsetPanel
#' @examples
#' ## Only run this example in interactive R sessions
#' if (interactive()) {
Expand Down Expand Up @@ -80,4 +80,6 @@ tabItem <- function(tabName = NULL, ...) {
#' shinyApp(ui, server)
#' }
#' @export
updateTabItems <- shiny::updateTabsetPanel
updateTabItems <- function(...) {
shiny::updateTabsetPanel(...)
}
2 changes: 1 addition & 1 deletion man/renderDropdownMenu.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/renderMenu.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/renderValueBox.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions man/updateTabItems.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.