Skip to content

Commit 576483f

Browse files
committed
fix the bug when resolving conflicts
1 parent e235f8b commit 576483f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/testthat/test-pkonfound.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ expect_output(pkonfound(2, .4, 100, 3), ".")
4848

4949
## PSE and COP
5050

51-
test_that("PSE and COE work via pkonfound", {
51+
test_that("PSE and COP work via pkonfound", {
5252

5353
output4 <- pkonfound(est_eff = -.125,
5454
std_err = .050,
@@ -77,7 +77,8 @@ test_that("PSE and COE work via pkonfound", {
7777
expect_equal(output5$`correlation between Y and CV conditional on Z`, tolerance = .001, 0.372) # PSE
7878
expect_equal(output5$`correlation between X and CV`, tolerance = .001, 0.214) # PSE
7979
expect_equal(output5$`correlation between Y and CV`, tolerance = .001, 0.313) # PSE
80-
80+
})
81+
8182
test_that("pkonfound creates the threshhold plot", {
8283
thresh_plot <- pkonfound(2, .4, 100, 3, to_return = "thresh_plot")
8384

0 commit comments

Comments
 (0)