Coerce to AT LEAST specified nesting depth
Examples
x <- list(a = 1)
require_depth(x, min_depth = 2L)
#> [[1]]
#> [[1]]$a
#> [1] 1
#>
#>
Coerce to AT LEAST specified nesting depth
x <- list(a = 1)
require_depth(x, min_depth = 2L)
#> [[1]]
#> [[1]]$a
#> [1] 1
#>
#>