-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into r-cmd-check-hard
- Loading branch information
Showing
24 changed files
with
782 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Can extract levels from an outcome | ||
|
||
Code | ||
get_outcome_levels("a") | ||
Condition | ||
Error in `standardize()`: | ||
! `y` is of unknown type 'character'. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Only numeric columns can be offsets | ||
|
||
Code | ||
mold(~ Sepal.Width + offset(Species), iris) | ||
Condition | ||
Error in `model_offset()`: | ||
! Column, 'offset(Species)', is tagged as an offset, but is not numeric. All offsets must be numeric. | ||
|
||
# offset columns are stored as predictors | ||
|
||
Code | ||
forge(iris2, x$blueprint) | ||
Condition | ||
Error in `validate_column_names()`: | ||
! The following required columns are missing: 'Sepal.Length'. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# `data` is validated | ||
|
||
Code | ||
mold(recipes::recipe(Species ~ Sepal.Length, data = iris), 1) | ||
Condition | ||
Error in `mold_recipe_default_clean()`: | ||
! `data` must be a data frame or a matrix, not the number 1. | ||
|
Oops, something went wrong.