dwww Home | Show directory contents | Find package

# input must be a list

    Code
      flatten(1)
    Condition
      Error in `flatten()`:
      ! `.x` must be a list, not a number.

---

    Code
      flatten_dbl(1)
    Condition
      Error in `flatten_dbl()`:
      ! `.x` must be a list, not a number.

# contents of list must be supported types

    Code
      flatten(list(quote(a)))
    Condition
      Error in `flatten()`:
      ! `.x[[1]]` must be a vector, not a symbol.

---

    Code
      flatten(list(expression(a)))
    Condition
      Error in `flatten()`:
      ! `.x[[1]]` must be a vector, not an expression vector.

# must be a list

    Code
      flatten_lgl(1)
    Condition
      Error in `flatten_lgl()`:
      ! `.x` must be a list, not a number.

Generated by dwww version 1.15 on Thu Jun 20 14:24:59 CEST 2024.