-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add prompt for params that will not be tuned (#549)
* implement warning for params that will not be tuned, update existing snaps * add tests for warning re: params that will not tune * add NEWS bullet * clarify dependencies * Apply suggestions from code review Co-authored-by: Davis Vaughan <davis@rstudio.com> * `expect_silent` -> `expect_warning` with `regexp = NA` slightly more granular, but still not as exact as testing with dev `expect_no_warning` with a class * simplify conditions, rephrase prompt only check the model object, as there's not a well-defined analogue for the "engine" in recipes. this also helps simplify the cli machinery. * restore current warning, elevate new warning to error * extend testing * update NEWS * remove outdated remote * move new check into sub-function * spelling issue * check installs for workflow (not just the model object) * Revert "check installs for workflow (not just the model object)" This reverts commit 8338639. Co-authored-by: Max Kuhn <mxkuhn@gmail.com> Co-authored-by: Davis Vaughan <davis@rstudio.com>
- Loading branch information
1 parent
8394b9d
commit 08fc285
Showing
5 changed files
with
110 additions
and
6 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