We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb9b60 commit 8a8923bCopy full SHA for 8a8923b
tests/testthat/test_plots.R
@@ -74,7 +74,7 @@ test_that("Forest plot 1 to many", {
74
75
test_that("Forest plot 1 to many test 2", {
76
res$pval<-formatC(res$pval, format = "e", digits = 2)
77
- expect_warning(p9 <- forest_plot_1_to_many(
+ expect_warning(p9 <- utils::capture.output(forest_plot_1_to_many(
78
res,
79
b = "b",
80
se = "se",
@@ -94,7 +94,7 @@ test_that("Forest plot 1 to many test 2", {
94
addcols = c("nsnp", "pval"),
95
addcol_widths = c(1.0, 1.0),
96
addcol_titles = c("No. SNPs", "P-val")
97
- ), regexp = "Removed 6 rows")
+ ), regexp = "Removed 6 rows"))
98
})
99
100
test_that("Forest plot 1 to many test 3 - with subcategory in by argument", {
0 commit comments