Skip to content

Commit

Permalink
Merge pull request #101 from jr-leary7/dev
Browse files Browse the repository at this point in the history
added dependency on R version and updated tests again
  • Loading branch information
jr-leary7 authored Jun 19, 2023
2 parents a634bb8 + 01358c8 commit 189bae6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ LazyData: true
RoxygenNote: 7.2.1
Depends:
glm2,
magrittr
magrittr,
R (>= 3.5.0)
Imports:
geeM,
MASS,
Expand Down
9 changes: 6 additions & 3 deletions tests/testthat/test_scLANE.R
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,12 @@ test_that("testDynamic() output", {
expect_s3_class(glm_gene_stats, "scLANE")
expect_s3_class(gee_gene_stats, "scLANE")
expect_s3_class(glmm_gene_stats, "scLANE")
expect_equal(length(glm_gene_stats), 10)
expect_equal(length(gee_gene_stats), 10)
expect_equal(length(glmm_gene_stats), 10)
expect_length(glm_gene_stats, 10)
expect_length(gee_gene_stats, 10)
expect_length(glmm_gene_stats, 10)
expect_s3_class(glm_gene_stats$ABCF1$Lineage_A$MARGE_Summary, "data.frame")
expect_s3_class(gee_gene_stats$ABCF1$Lineage_A$MARGE_Summary, "data.frame")
expect_s3_class(glmm_gene_stats$ABCF1$Lineage_A$MARGE_Summary, "data.frame")
expect_gt(nrow(glm_gene_stats$ABCF1$Lineage_A$MARGE_Summary), 0)
expect_gt(nrow(gee_gene_stats$ABCF1$Lineage_A$MARGE_Summary), 0)
expect_gt(nrow(glmm_gene_stats$ABCF1$Lineage_A$MARGE_Summary), 0)
Expand Down

0 comments on commit 189bae6

Please sign in to comment.