R/tidyHtmlTable_helpers_simplify_arg_list.R

Defines functions simplify_arg_list

# Converts arguments from ... into a list and removes those that have been set
# to NULL
simplify_arg_list <- function(...) {
  x <- list(...)
  idx <- sapply(x, is.null)
  return(x[!idx])
}
gforge/htmlTable documentation built on Nov. 4, 2023, 12:05 a.m.