Skip to content

Commit

Permalink
Add a single quote to qsvPCs to get the same error message as in the …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
HediaTnani committed Jan 16, 2024
1 parent d066823 commit 856e004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-get_qsvs.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ test_that("k is higher than the number of columns throws an error", {
})

test_that("input has to be a prcomp", {
expect_error(get_qsvs(covComb_tx_deg, 3), "qsvPCs must be a prcomp object.")
expect_error(get_qsvs(covComb_tx_deg, 3), "'qsvPCs' must be a prcomp object.")
})

0 comments on commit 856e004

Please sign in to comment.