From 856e004db1850d80e9ec9b345710d99ef1940dfa Mon Sep 17 00:00:00 2001 From: HediaTnani Date: Tue, 16 Jan 2024 12:14:14 -0500 Subject: [PATCH] Add a single quote to qsvPCs to get the same error message as in the function --- tests/testthat/test-get_qsvs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-get_qsvs.R b/tests/testthat/test-get_qsvs.R index c990e36..d668299 100644 --- a/tests/testthat/test-get_qsvs.R +++ b/tests/testthat/test-get_qsvs.R @@ -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.") }) \ No newline at end of file