Skip to content

Commit 0ac224e

Browse files
committed
fix linter
1 parent 12a41bb commit 0ac224e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

R/pkg/inst/tests/testthat/test_mllib.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ test_that("naiveBayes", {
146146
# R code to reproduce the result.
147147
# We do not support instance weights yet. So we ignore the frequencies.
148148
#
149-
# library(e1071)
150-
# t <- as.data.frame(Titanic)
151-
# t1 <- t[t$Freq > 0, -5]
152-
# m <- naiveBayes(Survived ~ ., data = t1)
153-
# m
154-
# predict(m, t1)
149+
#' library(e1071)
150+
#' t <- as.data.frame(Titanic)
151+
#' t1 <- t[t$Freq > 0, -5]
152+
#' m <- naiveBayes(Survived ~ ., data = t1)
153+
#' m
154+
#' predict(m, t1)
155155
#
156156
# -- output of 'm'
157157
#

0 commit comments

Comments
 (0)