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.
2 parents 58b7910 + 44cac16 commit d07cee3Copy full SHA for d07cee3
NEWS.md
@@ -6,6 +6,9 @@
6
- `use_backend()` gains a `gpu` argument, to specify if a GPU-capable set of
7
dependencies should be resolved by `py_require()`.
8
9
+- The progress bar in `fit()`, `evaluate()` and `predict()` now
10
+ defaults to not presenting during testthat tests.
11
+
12
## Added compatibility with Keras v3.8.0. User-facing changes:
13
14
- New symbols:
R/model-training.R
@@ -1054,6 +1054,8 @@ as_model_verbose_arg <- function(x) {
1054
# x == auto
1055
if(isTRUE(getOption('knitr.in.progress')))
1056
return(2L)
1057
+ if(identical(Sys.getenv("TESTTHAT"), "true"))
1058
+ return(0L) # don't draw progress in tests
1059
x # "auto"
1060
}
1061
0 commit comments