Skip to content

Commit

Permalink
Suppressed warnings (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Aug 2, 2023
1 parent 5f81639 commit de61fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-BLR-tutorial.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ m <- clusterGeneration::rcorrmatrix(M, alphad = 2.5)

# simulate 1000 binary variables with this correlation matrix
sample_size <- 100L
X <- bindata::rmvbin(sample_size, margprob = rep(0.5, M), bincorr = m)
X <- suppressWarnings(bindata::rmvbin(sample_size, margprob = rep(0.5, M), bincorr = m))

# prepare the correlation matrix in the melted format
melted_cormat <- reshape2::melt(cor(X))
Expand Down

0 comments on commit de61fa4

Please sign in to comment.