Skip to content

Commit

Permalink
revdep check issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Jan 23, 2024
1 parent fc041a0 commit d1bdb84
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion R/dashboardSidebar.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ bs4DashSidebar <- function(..., disable = FALSE, width = NULL,
set_sidebar_skin <- function(skin) {
is_dark_skin <- get_parent_args()$dark
if (is.null(skin)) {
skin <- if (!is_dark_skin) "light" else "dark"
skin <- if (is.null(is_dark_skin) || !is_dark_skin) "light" else "dark"
}
skin
}
Expand Down
2 changes: 0 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,5 @@ app_container <- function(url, deps = FALSE) {
# Get parent function arguments
get_parent_args <- function() {
cl <- sys.call(-3)
f <- get(as.character(cl[[1]]), mode = "function", sys.frame(-2))
cl <- match.call(definition = f, call = cl)
as.list(cl)[-1]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d1bdb84

Please sign in to comment.