We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c9733 commit ec981b6Copy full SHA for ec981b6
R/compile_keras_grid.R
@@ -176,8 +176,12 @@ extract_valid_grid <- function(compiled_grid) {
176
#' effect of printing to the console.
177
#' @export
178
inform_errors <- function(compiled_grid, n = 10) {
179
- if (!is.data.frame(compiled_grid) || !all(c("error") %in% names(compiled_grid))) {
180
- stop("`compiled_grid` must be a data frame produced by `compile_keras_grid()`.")
+ if (
+ !is.data.frame(compiled_grid) || !all(c("error") %in% names(compiled_grid))
181
+ ) {
182
+ stop(
183
+ "`compiled_grid` must be a data frame produced by `compile_keras_grid()`."
184
+ )
185
}
186
187
error_grid <- compiled_grid %>%
0 commit comments