this function takes a list of arguments and combines them into a list; any unnamed arguments are automatically named to match their symbols. The tibble::lst() function offers similarly functionality.

namedList(...)

Arguments

...

comma-separated arguments

Examples

a <- 1
b <- 2
c <- 3
str(namedList(a, b, d = c))
#> List of 3
#>  $ a: num 1
#>  $ b: num 2
#>  $ d: num 3