R/getList.R

Defines functions getList

Documented in getList

#' getList
#'
#' Creates a list with element names replaced by \code{link{getText}}.
#'
#' @param ... named elements of a list
#'
#' @return renamed list
#' @export
#'
#' @examples
#' getList(BOSTON=1, MTCARS=2)
getList <- function(...) {
  args <- list(...)
  names(args) <- getText(names(args))
  args
}
sigbertklinke/shinyExample documentation built on May 26, 2019, 4:32 a.m.