We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a492c22 + d153176 commit 10fe92dCopy full SHA for 10fe92d
7 files changed
tests/testthat/test-smk-ds.elspline.R
@@ -56,7 +56,7 @@ test_that("elspline", {
56
expect_equal(res.mod$errorMessage[3], "No errors")
57
expect_equal(res.mod$nsubs, 7477)
58
expect_equal(res.mod$iter, 3)
59
- expect_true("family" %in% class(res.mod$family))
+ expect_true("character" %in% class(res.mod$family))
60
expect_equal(res.mod$formula, "D$LAB_TRIG ~ elsplineDS")
61
expect_true("matrix" %in% class(res.mod$coefficients))
62
expect_true("array" %in% class(res.mod$coefficients))
@@ -106,7 +106,7 @@ test_that("elspline", {
106
107
108
109
110
expect_equal(res.mod$formula, "D$LAB_TRIG ~ elsplineDS2")
111
112
tests/testthat/test-smk-ds.glm-binomial.R
@@ -43,7 +43,7 @@ test_that("glm_binomial", {
43
expect_equal(res$errorMessage[3], "No errors")
44
expect_equal(res$nsubs, 7485)
45
expect_equal(res$iter, 9)
46
- expect_true("family" %in% class(res$family))
+ expect_true("character" %in% class(res$family))
47
expect_equal(res$formula, "D$DIS_DIAB ~ D$GENDER * D$PM_BMI_CONTINUOUS + D$LAB_HDL")
48
expect_true("matrix" %in% class(res$coefficients))
49
expect_equal(res$dev, 1036.031, tolerance=0.00001)
@@ -69,7 +69,7 @@ test_that("glm_binomial, with check", {
69
70
71
72
73
74
75
tests/testthat/test-smk-ds.glm-gaussian.R
@@ -43,7 +43,7 @@ test_that("glm_gaussian", {
expect_equal(res$nsubs, 7800)
expect_equal(res$iter, 3)
expect_equal(res$formula, "D$LAB_TSC ~ D$LAB_TRIG")
expect_equal(res$dev, 8936.32, tolerance=0.00001)
@@ -69,7 +69,7 @@ test_that("glm_gaussian, with check", {
tests/testthat/test-smk-ds.glm-poisson.R
expect_equal(res$nsubs, 6299)
expect_equal(res$iter, 5)
expect_equal(res$formula, "D$survtime ~ 1 + D$time.id + D$female")
expect_equal(res$dev, 3522.598, tolerance=0.00001)
@@ -69,7 +69,7 @@ test_that("glm_gaussian, which check", {
tests/testthat/test-smk-ds.lspline.R
@@ -56,7 +56,7 @@ test_that("lspline", {
expect_equal(res.mod$formula, "D$LAB_TRIG ~ lsplineDS")
tests/testthat/test-smk-ds.ns.R
@@ -60,7 +60,7 @@ test_that("ns", {
63
64
expect_equal(res.mod$formula, "D$LAB_TRIG ~ nsDS")
65
66
tests/testthat/test-smk-ds.qlspline.R
@@ -56,7 +56,7 @@ test_that("qlspline", {
expect_equal(res.mod$formula, "D$LAB_TRIG ~ qlsplineDS")
@@ -108,7 +108,7 @@ test_that("qlspline", {
expect_equal(res.mod$formula, "D$LAB_TRIG ~ qlsplineDS2")
113
114
0 commit comments