R/zzz.R

Defines functions rmNULL

#' @import shiny
#' @import utils
#' @import htmltools
#' @importFrom jsonlite fromJSON
#'
#' @export
#'

utils::globalVariables(c("updateSelectInput", "updateCheckboxGroupInput", "updateDateInput", "updateDateRangeInput", "updateCheckboxInput", "updateRadioButtons", "updateTextInput", "renderText"))



# drop all the NULL items, adapted from shiny pkg
rmNULL <- function(x) {
  x[!vapply(x, is.null, FUN.VALUE=logical(1))]
}

Try the shinyStorePlus package in your browser

Any scripts or data that you put into this service are public.

shinyStorePlus documentation built on June 8, 2025, 1:24 p.m.