Skip to content

Commit

Permalink
testing out new setup
Browse files Browse the repository at this point in the history
  • Loading branch information
smasongarrison committed Sep 14, 2023
1 parent a124eb4 commit 2c63943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-ident.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ test_that("identified model is identified", {
E = diag(1, 4)
)$identified)
})

test_that("underidentified model is unidentified", {
set.seed(5)

Expand Down
3 changes: 1 addition & 2 deletions tests/testthat/test-network.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test_that("ped2graph produces a graph for inbreeding data", {


test_that("ped2add produces correct matrix dims, values, and dimnames for hazard", {
data(hazard)
data(hazard)
add <- ped2add(hazard)
# Check dimension
expect_equal(dim(add), c(nrow(hazard), nrow(hazard)))
Expand Down Expand Up @@ -158,5 +158,4 @@ test_that("ped2ce produces correct matrix dims, values, and dimnames", {
dn <- dimnames(ce)
expect_equal(dn[[1]], dn[[2]])
expect_equal(dn[[1]], as.character(inbreeding$ID))
# expect_silent(data(inbreeding))
})

0 comments on commit 2c63943

Please sign in to comment.