Skip to content

Commit 0926159

Browse files
tiny cosmetic edits to fitmaxnet test
1 parent d5ad5b0 commit 0926159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-FitMaxnet.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test_that("FitMaxnet handles factor variables", {
7777

7878
test_that("FitMaxnet removes rows with NA", {
7979
temp_data <- mock_data
80-
temp_data$var1[1:5] <- NA # introduce NA
80+
temp_data$var1[1:5] <- NA # introduce NA
8181

8282
model <- FitMaxnet(
8383
data = temp_data,
@@ -95,7 +95,7 @@ test_that("FitMaxnet removes rows with NA", {
9595
test_that("FitMaxnet produces a maxnet object", {
9696
# Create data where one variable is noise
9797
noisy_data <- mock_data
98-
noisy_data$noise <- rnorm(n) * 1e-6 # basically noise
98+
noisy_data$noise <- rnorm(n) * 1e-6 # basically noise
9999

100100
model_full <- FitMaxnet(
101101
data = noisy_data,

0 commit comments

Comments
 (0)