Produces a list with NULL
for each element named according to element_names
.
named_null_list(element_names = NULL)
character
vector of names for the elements in the list.
list
with names element_names
and values NULL
.
named_null_list(c("a", "b", "c"))
#> $a
#> NULL
#>
#> $b
#> NULL
#>
#> $c
#> NULL
#>