Produces a list with NULL for each element named according to element_names.

named_null_list(element_names = NULL)

Arguments

element_names

character vector of names for the elements in the list.

Value

list with names element_names and values NULL.

Examples

 named_null_list(c("a", "b", "c"))
#> $a
#> NULL
#> 
#> $b
#> NULL
#> 
#> $c
#> NULL
#>