Skip to content

Commit 82376cf

Browse files
committed
minor formatting
1 parent 368518b commit 82376cf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

R/aaa.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22
maybe_multivariate <- function(results, object) {
3-
if (isTRUE(ncol(results) > 1))
3+
if (isTRUE(ncol(results) > 1)) {
44
results <- as_tibble(results)
5-
else
5+
} else {
66
results <- unname(results[, 1])
7+
}
78
results
89
}
910

tests/testthat/test_aaaa.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
# this gets inserted into the test results. To make this less hideous, we
33
# try to trigger the output here so that it shows up at the top of the testing.
44

5+
library(testthat)
6+
7+
context("setting keras environment")
8+
59
Sys.setenv(TF_CPP_MIN_LOG_LEVEL = '3')
610
try(keras:::backend(), silent = TRUE)

0 commit comments

Comments
 (0)