dwww Home | Show directory contents | Find package

> vec_assert(lgl(), chr()):

Error: `lgl()` must be a vector with type <character>.
Instead, it has type <logical>.



> vec_assert(lgl(), factor()):

Error: `lgl()` must be a vector with type <factor<>>.
Instead, it has type <logical>.



> vec_assert(lgl(), factor(levels = "foo")):

Error: `lgl()` must be a vector with type <factor<76c17>>.
Instead, it has type <logical>.



> vec_assert(factor(levels = "bar"), factor(levels = "foo")):

Error: `factor(levels = "bar")` must be a vector with type <factor<76c17>>.
Instead, it has type <factor<54b1d>>.



> vec_assert(factor(), chr()):

Error: `factor()` must be a vector with type <character>.
Instead, it has type <factor<>>.



> vec_assert(lgl(), data.frame()):

Error: `lgl()` must be a vector with type <data.frame<>>.
Instead, it has type <logical>.



> vec_assert(lgl(), data.frame(x = 1)):

Error: `lgl()` must be a vector with type <data.frame<x:double>>.
Instead, it has type <logical>.



> vec_assert(lgl(), data.frame(x = 1, y = 2)):

Error: `lgl()` must be a vector with type:

  <data.frame<
    x: double
    y: double
  >>

Instead, it has type <logical>.



> vec_assert(data.frame(), chr()):

Error: `data.frame()` must be a vector with type <character>.
Instead, it has type <data.frame<>>.



> vec_assert(data.frame(x = 1), chr()):

Error: `data.frame(x = 1)` must be a vector with type <character>.
Instead, it has type <data.frame<x:double>>.



> vec_assert(data.frame(x = 1), data.frame(x = "foo")):

Error: `data.frame(x = 1)` must be a vector with type <data.frame<x:character>>.
Instead, it has type <data.frame<x:double>>.



> vec_assert(data.frame(x = 1), data.frame(x = "foo", y = 2)):

Error: `data.frame(x = 1)` must be a vector with type:

  <data.frame<
    x: character
    y: double
  >>

Instead, it has type <data.frame<x:double>>.



> vec_assert(data.frame(x = 1, y = 2), chr()):

Error: `data.frame(x = 1, y = 2)` must be a vector with type <character>.
Instead, it has type:

  <data.frame<
    x: double
    y: double
  >>



> vec_assert(data.frame(x = 1, y = 2), data.frame(x = "foo")):

Error: `data.frame(x = 1, y = 2)` must be a vector with type <data.frame<x:character>>.
Instead, it has type:

  <data.frame<
    x: double
    y: double
  >>



> vec_assert(data.frame(x = 1, y = 2), data.frame(x = "foo", y = 2)):

Error: `data.frame(x = 1, y = 2)` must be a vector with type:

  <data.frame<
    x: character
    y: double
  >>

Instead, it has type:

  <data.frame<
    x: double
    y: double
  >>



Generated by dwww version 1.15 on Wed May 22 08:37:17 CEST 2024.