Skip to content

Commit

Permalink
lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 1, 2023
1 parent 69f4b30 commit 5893352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test_that("principal_components", {
expect_named(x, c("Variable", "RC1", "RC2", "Complexity", "Uniqueness", "MSA"))

expect_identical(dim(predict(x)), c(32L, 2L))
expect_named(predict(x, names=c("A", "B")), c("A", "B"))
expect_named(predict(x, names = c("A", "B")), c("A", "B"))
expect_identical(nrow(predict(x, newdata = mtcars[1:3, 1:7])), 3L)
})

Expand Down

0 comments on commit 5893352

Please sign in to comment.