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 368518b commit 82376cfCopy full SHA for 82376cf
R/aaa.R
@@ -1,9 +1,10 @@
1
2
maybe_multivariate <- function(results, object) {
3
- if (isTRUE(ncol(results) > 1))
+ if (isTRUE(ncol(results) > 1)) {
4
results <- as_tibble(results)
5
- else
+ } else {
6
results <- unname(results[, 1])
7
+ }
8
results
9
}
10
tests/testthat/test_aaaa.R
@@ -2,5 +2,9 @@
# this gets inserted into the test results. To make this less hideous, we
# try to trigger the output here so that it shows up at the top of the testing.
+library(testthat)
+
+context("setting keras environment")
Sys.setenv(TF_CPP_MIN_LOG_LEVEL = '3')
try(keras:::backend(), silent = TRUE)
0 commit comments