Skip to content

Commit

Permalink
Small change to tests to address test failures in M1mac environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarbo committed Jun 27, 2022
1 parent 1865411 commit e4181f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Description: Implements methods for variable selection in linear
called "Iterative Bayesian Stepwise Selection" (IBSS), is simple
and fast, allowing the SuSiE model be fit to large data sets
(thousands of samples and hundreds of thousands of variables).
Date: 2022-06-20
Version: 0.12.12
Date: 2022-06-26
Version: 0.12.16
Authors@R: c(person("Gao","Wang",role="aut",email="wang.gao@columbia.edu"),
person("Yuxin","Zou",role="aut"),
person("Kaiqian","Zhang",role="aut"),
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_prior_weights.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test_that("Sufficient stat (beta): prior weights specification agrees with defau
res2 = susie_rss(bhat = ss$betahat, shat = ss$sebetahat, R = R, n = n, var_y = var(y),
estimate_prior_variance = TRUE,
prior_weights = rep(1/ncol(R), ncol(R)))
expect_equal_susie_suff_stat(res1,res2,tolerance = 1e-6)
expect_equal_susie_suff_stat(res1,res2,tolerance = 0.001)
}))

test_that("RSS: prior weights specification agrees with default", with(simulate(200,500), {
Expand Down

0 comments on commit e4181f5

Please sign in to comment.