See above.
See also
Other tidyfun developer tools:
prep_plotting_arg(),
unique_id()
Examples
ensure_list(1:3)
#> [[1]]
#> [1] 1 2 3
#>
ensure_list(list(1, 2))
#> [[1]]
#> [1] 1
#>
#> [[2]]
#> [1] 2
#>
See above.
Other tidyfun developer tools:
prep_plotting_arg(),
unique_id()
ensure_list(1:3)
#> [[1]]
#> [1] 1 2 3
#>
ensure_list(list(1, 2))
#> [[1]]
#> [1] 1
#>
#> [[2]]
#> [1] 2
#>