Skip to content

Commit

Permalink
error messaging update
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Jul 4, 2024
1 parent 8ccc7d6 commit be93fef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ BugReports: https://github.com/ddsjoberg/gtsummary/issues
Depends:
R (>= 4.1)
Imports:
cards (>= 0.1.0.9042),
cards (>= 0.1.0.9043),
cli (>= 3.6.1),
dplyr (>= 1.1.3),
glue (>= 1.6.2),
Expand All @@ -60,7 +60,7 @@ Suggests:
broom.helpers (>= 1.15.0),
broom.mixed (>= 0.2.9),
car (>= 3.0-11),
cardx (>= 0.1.0.9061),
cardx (>= 0.1.0.9062),
cmprsk,
effectsize (>= 0.6.0),
emmeans (>= 1.7.3),
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/_snaps/tbl_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
Error in `tbl_summary()`:
! Error in argument `value` for variable "grade".
i A value of "IV" was passed, but must be one of I, II, and III.
i To summarize this value, use `forcats::fct_expand()` to add "IV" as a level.

---

Expand Down Expand Up @@ -304,6 +305,7 @@
Error in `tbl_summary()`:
! Error in argument `value` for variable "grade".
i A value of "IV" was passed, but must be one of I, II, and III.
i To summarize this value, use `forcats::fct_expand()` to add "IV" as a level.

# tbl_summary(missing)

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/_snaps/tbl_svysummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
Error in `tbl_svysummary()`:
! Error in argument `value` for variable "grade".
i A value of "IV" was passed, but must be one of I, II, and III.
i To summarize this value, use `forcats::fct_expand()` to add "IV" as a level.

---

Expand Down Expand Up @@ -266,6 +267,7 @@
Error in `tbl_svysummary()`:
! Error in argument `value` for variable "grade".
i A value of "IV" was passed, but must be one of I, II, and III.
i To summarize this value, use `forcats::fct_expand()` to add "IV" as a level.

# tbl_svysummary(missing)

Expand Down

0 comments on commit be93fef

Please sign in to comment.