Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Jun 6, 2024
1 parent a0313a9 commit 64d6771
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion man/developer_functions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions tests/testthat/_snaps/ptype.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@
Condition
Error:
x The following variable has the wrong class:
* `id` must have class <numeric> not <integer>.
* `id` must have class <numeric>, not <integer>.

---

Code
recipes_ptype_validate(rec, data_new)
Condition
Error:
x The following variables has the wrong class:
* `id` must have class <numeric> not <integer>.
* `x2` must have class <integer> not <factor>.
* `y` must have class <numeric> not <integer>.
x The following variables have the wrong class:
* `id` must have class <numeric>, not <integer>.
* `x2` must have class <integer>, not <factor>.
* `y` must have class <numeric>, not <integer>.

---

Code
recipes_ptype_validate(rec, data_new)
Condition
Error:
x The following variable has the wrong attributed: `x1`.
x The following variable has the wrong attributes: `x1`.

---

Code
recipes_ptype_validate(rec, data_new)
Condition
Error:
x The following variables has the wrong attributed: `id` and `x1`.
x The following variables have the wrong attributes: `id` and `x1`.

0 comments on commit 64d6771

Please sign in to comment.