Last updated on 2019-03-27 00:47:45 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 3.0.0 | 6.39 | 136.96 | 143.35 | OK | |
r-devel-linux-x86_64-debian-gcc | 3.0.0 | 6.46 | 104.08 | 110.54 | OK | |
r-devel-linux-x86_64-fedora-clang | 3.0.0 | 186.00 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 3.0.0 | 168.85 | OK | |||
r-devel-windows-ix86+x86_64 | 2.0.0 | 16.00 | 201.00 | 217.00 | ERROR | |
r-patched-linux-x86_64 | 2.0.0 | 7.38 | 132.66 | 140.04 | OK | |
r-patched-solaris-x86 | 3.0.0 | 186.80 | ERROR | |||
r-release-linux-x86_64 | 2.0.0 | 5.74 | 131.54 | 137.28 | OK | |
r-release-windows-ix86+x86_64 | 2.0.0 | 14.00 | 189.00 | 203.00 | OK | |
r-release-osx-x86_64 | 2.0.0 | ERROR | ||||
r-oldrel-windows-ix86+x86_64 | 2.0.0 | 6.00 | 236.00 | 242.00 | OK | |
r-oldrel-osx-x86_64 | 2.0.0 | ERROR |
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [79s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(arsenal)
>
> test_check("arsenal")
-- 1. Failure: A basic freqlist call (@test_freqlist.R#18) --------------------
capture.kable(summary(freqlist(TAB), labelTranslations = old.labs)) not identical to c(...).
Lengths differ: 20 is not 18
-- 2. Failure: strata option in freqlist call (@test_freqlist.R#43) -----------
capture.kable(...) not identical to c(...).
Lengths differ: 28 is not 26
-- 3. Failure: sparse option in freqlist call (@test_freqlist.R#78) -----------
capture.kable(summary(freqlist(TAB, sparse = TRUE), labelTranslations = old.labs)) not identical to c(...).
18/20 mismatches
x[3]: "|High |Female |I | 2| 2| 2.22| 2.22|"
y[3]: "|High |Female |I | 4| 4| 4.44| 4.44|"
x[4]: "| | |II | 7| 9| 7.78| 10.00|"
y[4]: "| | |II | 8| 12| 8.89| 13.33|"
x[5]: "| | |III | 8| 17| 8.89| 18.89|"
y[5]: "| | |III | 3| 15| 3.33| 16.67|"
x[6]: "| |Male |I | 5| 22| 5.56| 24.44|"
y[6]: "| |Male |I | 7| 22| 7.78| 24.44|"
x[7]: "| | |II | 4| 26| 4.44| 28.89|"
y[7]: "| | |II | 2| 24| 2.22| 26.67|"
-- 4. Failure: NA options in freqlist call (@test_freqlist.R#105) -------------
capture.kable(summary(freqlist(TAB.na, na.options = "include"))) not identical to c(...).
Lengths differ: 8 is not 7
-- 5. Failure: NA options in freqlist call (@test_freqlist.R#116) -------------
capture.kable(summary(freqlist(TAB.na, na.options = "showexclude"))) not identical to c(...).
Lengths differ: 8 is not 7
-- 6. Failure: NA options in freqlist call (@test_freqlist.R#127) -------------
capture.kable(summary(freqlist(TAB.na, na.options = "remove"))) not identical to c(...).
4/6 mismatches
x[3]: "|A |Ethan | 23| 23| 26.44| 26.44|"
y[3]: "|A |Ethan | 17| 17| 19.54| 19.54|"
x[4]: "| |Heinzen | 24| 47| 27.59| 54.02|"
y[4]: "| |Heinzen | 16| 33| 18.39| 37.93|"
x[5]: "|B |Ethan | 22| 69| 25.29| 79.31|"
y[5]: "|B |Ethan | 25| 58| 28.74| 66.67|"
x[6]: "| |Heinzen | 18| 87| 20.69| 100.00|"
y[6]: "| |Heinzen | 29| 87| 33.33| 100.00|"
-- 7. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#15
capture.kable(...) not identical to `ref`.
Lengths differ: 8 is not 7
-- 8. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#15
capture.kable(...) not identical to `ref`.
Lengths differ: 8 is not 7
-- 9. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#16
capture.kable(...) not identical to `ref`.
Lengths differ: 8 is not 7
-- 10. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#1
capture.kable(summary(tmp)) not identical to `ref`.
Lengths differ: 8 is not 7
-- 11. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#1
capture.kable(summary(tmp)) not identical to c(...).
Lengths differ: 8 is not 7
-- 12. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#1
capture.kable(summary(tmp)) not identical to c(...).
Lengths differ: 8 is not 7
-- 13. Failure: Changing the labels on grouped freqlists (@test_freqlist.R#205)
capture.kable(...) not identical to c(...).
Lengths differ: 16 is not 15
-- 14. Failure: dupLabels works (@test_freqlist.R#229) ------------------------
capture.kable(...) not identical to c(...).
Lengths differ: 20 is not 18
-- 15. Failure: dupLabels works (@test_freqlist.R#251) ------------------------
capture.kable(...) not identical to c(...).
Lengths differ: 28 is not 26
-- 16. Failure: Adding a title (@test_freqlist.R#285) -------------------------
capture.kable(...) not identical to c(...).
Lengths differ: 10 is not 9
-- 17. Failure: Adding a title (@test_freqlist.R#300) -------------------------
capture.kable(...) not identical to c(...).
Lengths differ: 18 is not 17
-- 18. Failure: digits specification (@test_freqlist.R#339) -------------------
capture.kable(...) not identical to c(...).
Lengths differ: 8 is not 7
-- 19. Failure: 11/18/16: Emily Lundt's subsetted table and duplicate label prob
capture.kable(summary(freqlist(TAB.subset), labelTranslations = old.labs)) not identical to c(...).
Lengths differ: 17 is not 15
-- 20. Failure: A modelsum call with strata (@test_lhs_modelsum.R#19) ---------
capture.kable(...) not identical to c(...).
18/20 mismatches
x[3]: "|High |(Intercept) |40.977 |1.749 |< 0.001 |0.105 |"
y[3]: "|High |(Intercept) |40.833 |2.062 |< 0.001 |-0.050 |"
x[4]: "| |Sex Male |-4.519 |2.167 |0.047 | |"
y[4]: "| |Sex Male |0.333 |2.326 |0.887 | |"
x[5]: "| |Treatment Arm B |2.174 |2.152 |0.321 | |"
y[5]: "| |Treatment Arm B |-1.812 |2.331 |0.444 | |"
x[6]: "| |(Intercept) |47.769 |5.514 |< 0.001 |0.057 |"
y[6]: "| |(Intercept) |39.853 |3.948 |< 0.001 |-0.047 |"
x[7]: "| |dt |0.001 |0.001 |0.110 | |"
y[7]: "| |dt |-0.000 |0.001 |0.750 | |"
-- 21. Failure: strata levels are maintained (@test_lhs_modelsum.R#48) --------
capture.kable(...) not identical to c(...).
14/16 mismatches
x[3]: "|A |(Intercept) |40.033 |1.772 |< 0.001 |-0.022
x[3]: |"
y[3]: "|A |(Intercept) |42.139 |2.047 |< 0.001 |-0.047
y[3]: |"
x[4]: "| |Sex Male |-2.361 |2.098 |0.269 |
x[4]: |"
y[4]: "| |Sex Male |-2.277 |2.456 |0.364 |
y[4]: |"
x[5]: "| |Group Med |0.353 |2.098 |0.867 |
x[5]: |"
y[5]: "| |Group Med |-0.533 |2.472 |0.831 |
y[5]: |"
x[6]: "| |(Intercept) |41.851 |5.435 |< 0.001 |-0.053
x[6]: |"
y[6]: "| |(Intercept) |34.850 |3.600 |< 0.001 |0.065
y[6]: |"
x[7]: "| |dt |0.000 |0.001 |0.588 |
x[7]: |"
y[7]: "| |dt |-0.001 |0.000 |0.072 |
y[7]: |"
-- 22. Failure: Changing labels (@test_lhs_modelsum.R#142) --------------------
capture.kable(summary(tab, text = TRUE, term.name = TRUE)) not identical to c(...).
48/54 mismatches
x[3]: "|A |(Intercept) |39.409 |1.628 |< 0.001 |-0.047 |"
y[3]: "|A |(Intercept) |42.000 |1.795 |< 0.001 |-0.052 |"
x[4]: "| |Male |-0.935 |1.690 |0.583 | |"
y[4]: "| |Male |-2.000 |1.918 |0.305 | |"
x[5]: "| |Low |1.411 |2.135 |0.512 | |"
y[5]: "| |Low |-1.182 |2.303 |0.611 | |"
x[6]: "| |Group Med |0.076 |1.995 |0.970 | |"
y[6]: "| |Group Med |-0.545 |2.290 |0.813 | |"
x[7]: "| |(Intercept) |39.886 |2.197 |< 0.001 |-0.047 |"
y[7]: "| |(Intercept) |41.277 |2.281 |< 0.001 |-0.087 |"
-- 23. Failure: Changing labels (@test_lhs_modelsum.R#205) --------------------
`tmp` not identical to c(...).
48/54 mismatches
x[3]: "|A |(Intercept) |39.409 |1.628 |< 0.001 |-0.047 |"
y[3]: "|A |(Intercept) |42.000 |1.795 |< 0.001 |-0.052 |"
x[4]: "| |Sex Male |-0.935 |1.690 |0.583 | |"
y[4]: "| |Sex Male |-2.000 |1.918 |0.305 | |"
x[5]: "| |Group Low |1.411 |2.135 |0.512 | |"
y[5]: "| |Group Low |-1.182 |2.303 |0.611 | |"
x[6]: "| |Group Med |0.076 |1.995 |0.970 | |"
y[6]: "| |Group Med |-0.545 |2.290 |0.813 | |"
x[7]: "| |(Intercept) |39.886 |2.197 |< 0.001 |-0.047 |"
y[7]: "| |(Intercept) |41.277 |2.281 |< 0.001 |-0.087 |"
-- 24. Failure: 02/23/2018: wrapping long labels (#59) (@test_lhs_modelsum.R#276
capture.kable(...) not identical to c(...).
14/26 mismatches
x[3]: "|A |(Intercept) |39.000 |1.439 |< 0.001 |-0.03
x[3]: 1 |"
y[3]: "|A |(Intercept) |41.000 |1.520 |< 0.001 |-0.05
y[3]: 5 |"
x[4]: "| |This is a really long label |1.286 |2.107 |0.545 |
x[4]: |"
y[4]: "| |This is a really long label |-0.909 |2.292 |0.694 |
y[4]: |"
x[6]: "| |This is a really long label |-0.105 |1.953 |0.957 |
x[6]: |"
y[6]: "| |This is a really long label |-0.636 |2.292 |0.783 |
y[6]: |"
x[8]: "| |(Intercept) |40.101 |1.600 |< 0.001 |-0.01
x[8]: 4 |"
y[8]: "| |(Intercept) |43.285 |2.187 |< 0.001 |0.026
y[8]: |"
x[9]: "| |Another really long label. |-0.229 |0.406 |0.576 |
x[9]: |"
y[9]: "| |Another really long label. |-0.719 |0.519 |0.175 |
y[9]: |"
-- 25. Failure: A tableby call with strata (@test_lhs_tableby.R#24) -----------
capture.kable(...) not identical to c(...).
20/22 mismatches
x[3]: "|A |Age in Years | | |
x[3]: | | 0.762 |"
y[3]: "|A |Age in Years | | |
y[3]: | | 0.918 |"
x[4]: "| |- Mean (SD) | 39.000 (5.888) | 40.286 (4.811) | 38.895
x[4]: (6.253) | 39.327 (5.669) | |"
y[4]: "| |- Mean (SD) | 41.000 (6.493) | 40.091 (4.571) | 40.364
y[4]: (5.573) | 40.528 (5.537) | |"
x[5]: "| |- Range | 29.000 - 49.000 | 32.000 - 48.000 | 30.000
x[5]: - 52.000 | 29.000 - 52.000 | |"
y[5]: "| |- Range | 29.000 - 53.000 | 33.000 - 48.000 | 30.000
y[5]: - 49.000 | 29.000 - 53.000 | |"
x[6]: "| |time | | |
x[6]: | | 0.472 |"
y[6]: "| |time | | |
y[6]: | | 0.319 |"
x[7]: "| |- Mean (SD) | 2.938 (2.112) | 3.857 (2.248) | 3.421
x[7]: (1.805) | 3.388 (2.029) | |"
y[7]: "| |- Mean (SD) | 4.357 (1.865) | 3.273 (1.421) | 3.727
y[7]: (1.954) | 3.833 (1.781) | |"
-- 26. Failure: Using cat.simplify (@test_lhs_tableby.R#100) ------------------
capture.kable(...) not identical to c(...).
4/10 mismatches
x[3]: "|Sex | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 45 (
x[3]: 50.0%) | 0.670|"
y[3]: "|Sex | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 44 (
y[3]: 48.9%) | 0.733|"
x[7]: "| | Ethan (N=45) | Heinzen (N=42) | Total (N=87) | p valu
x[7]: e|"
y[7]: "| | Ethan (N=42) | Heinzen (N=45) | Total (N=87) | p valu
y[7]: e|"
x[9]: "|Sex | 24 (53.3%) | 20 (47.6%) | 44 (50.6%) | 0.59
x[9]: 4|"
y[9]: "|Sex | 24 (57.1%) | 18 (40.0%) | 42 (48.3%) | 0.11
y[9]: 0|"
x[10]: "|Age in Years | 39.489 (5.379) | 39.619 (5.123) | 39.552 (5.227) | 0.90
x[10]: 8|"
y[10]: "|Age in Years | 38.857 (5.201) | 40.200 (5.225) | 39.552 (5.227) | 0.23
y[10]: 3|"
-- 27. Failure: Using cat.simplify (@test_lhs_tableby.R#115) ------------------
capture.kable(...) not identical to c(...).
9/14 mismatches
x[3]: "|A |Sex | 7 (43.8%) | 8 (57.1%) | 12 (63
x[3]: .2%) | 27 (55.1%) | 0.508 |"
y[3]: "|A |Sex | 7 (50.0%) | 4 (36.4%) | 6 (54.
y[3]: 5%) | 17 (47.2%) | 0.670 |"
x[4]: "| |Age in Years | 39.000 (5.888) | 40.286 (4.811) | 38.895 (
x[4]: 6.253) | 39.327 (5.669) | 0.762 |"
y[4]: "| |Age in Years | 41.000 (6.493) | 40.091 (4.571) | 40.364 (
y[4]: 5.573) | 40.528 (5.537) | 0.918 |"
x[5]: "|B |Sex | 6 (42.9%) | 8 (50.0%) | 4 (36.
x[5]: 4%) | 18 (43.9%) | 0.778 |"
y[5]: "|B |Sex | 8 (50.0%) | 9 (47.4%) | 10 (52
y[5]: .6%) | 27 (50.0%) | 0.949 |"
x[6]: "| |Age in Years | 41.214 (6.589) | 39.062 (2.863) | 40.364 (
x[6]: 4.249) | 40.146 (4.752) | 0.469 |"
y[6]: "| |Age in Years | 39.188 (6.047) | 39.368 (3.515) | 38.895 (
y[6]: 5.646) | 39.148 (5.041) | 0.960 |"
x[9]: "|Treatment Arm | | Ethan (N=45) | Heinzen (N=42) | Total (
x[9]: N=87) | p value |"
y[9]: "|Treatment Arm | | Ethan (N=42) | Heinzen (N=45) | Total (
y[9]: N=87) | p value |"
-- 28. Failure: Changing labels (@test_lhs_tableby.R#200) ---------------------
capture.kable(summary(tb, text = TRUE, term.name = TRUE)) not identical to c(...).
25/30 mismatches
x[3]: "|A |Sex label | | |
x[3]: | | 0.508 |"
y[3]: "|A |Sex label | | |
y[3]: | | 0.670 |"
x[4]: "| |- Female | 9 (56.2%) | 6 (42.9%) | 7 (36.8%)
x[4]: | 22 (44.9%) | |"
y[4]: "| |- Female | 7 (50.0%) | 7 (63.6%) | 5 (45.5%)
y[4]: | 19 (52.8%) | |"
x[5]: "| |- Male | 7 (43.8%) | 8 (57.1%) | 12 (63.2%)
x[5]: | 27 (55.1%) | |"
y[5]: "| |- Male | 7 (50.0%) | 4 (36.4%) | 6 (54.5%)
y[5]: | 17 (47.2%) | |"
x[6]: "| |Age at event | | |
x[6]: | | 0.762 |"
y[6]: "| |Age at event | | |
y[6]: | | 0.918 |"
x[7]: "| |- Mean (SD) | 39.000 (5.888) | 40.286 (4.811) | 38.895 (6.25
x[7]: 3) | 39.327 (5.669) | |"
y[7]: "| |- Mean (SD) | 41.000 (6.493) | 40.091 (4.571) | 40.364 (5.57
y[7]: 3) | 40.528 (5.537) | |"
-- 29. Failure: Changing labels (@test_lhs_tableby.R#235) ---------------------
capture.kable(summary(tb, text = TRUE, term.name = TRUE)) not identical to c(...).
25/30 mismatches
x[3]: "|A |Sex | | |
x[3]: | | 0.508 |"
y[3]: "|A |Sex | | |
y[3]: | | 0.670 |"
x[4]: "| |- Female | 9 (56.2%) | 6 (42.9%) | 7 (36.8%)
x[4]: | 22 (44.9%) | |"
y[4]: "| |- Female | 7 (50.0%) | 7 (63.6%) | 5 (45.5%)
y[4]: | 19 (52.8%) | |"
x[5]: "| |- Male | 7 (43.8%) | 8 (57.1%) | 12 (63.2%)
x[5]: | 27 (55.1%) | |"
y[5]: "| |- Male | 7 (50.0%) | 4 (36.4%) | 6 (54.5%)
y[5]: | 17 (47.2%) | |"
x[6]: "| |Age | | |
x[6]: | | 0.762 |"
y[6]: "| |Age | | |
y[6]: | | 0.918 |"
x[7]: "| |- Mean (SD) | 39.000 (5.888) | 40.286 (4.811) | 38.895 (6.253)
x[7]: | 39.327 (5.669) | |"
y[7]: "| |- Mean (SD) | 41.000 (6.493) | 40.091 (4.571) | 40.364 (5.573)
y[7]: | 40.528 (5.537) | |"
-- 30. Failure: 02/23/2018: wrapping long labels (#59) (@test_lhs_tableby.R#282)
capture.kable(...) not identical to c(...).
20/30 mismatches
x[1]: "|trt | | Female (N=45) | Ma
x[1]: le (N=45) | Total (N=90) | p value |"
y[1]: "|trt | | Female (N=46) | Ma
y[1]: le (N=44) | Total (N=90) | p value |"
x[3]: "|A |This is a really long label | |
x[3]: | | 0.508 |"
y[3]: "|A |This is a really long label | |
y[3]: | | 0.670 |"
x[5]: "| |- High | 9 (40.9%) | 7
x[5]: (25.9%) | 16 (32.7%) | |"
y[5]: "| |- High | 7 (36.8%) | 7
y[5]: (41.2%) | 14 (38.9%) | |"
x[6]: "| |- Low | 6 (27.3%) | 8
x[6]: (29.6%) | 14 (28.6%) | |"
y[6]: "| |- Low | 7 (36.8%) | 4
y[6]: (23.5%) | 11 (30.6%) | |"
x[7]: "| |- Med | 7 (31.8%) | 12
x[7]: (44.4%) | 19 (38.8%) | |"
y[7]: "| |- Med | 5 (26.3%) | 6
y[7]: (35.3%) | 11 (30.6%) | |"
-- 31. Failure: A basic modelsum call--no labels, no missings (@test_modelsum.R#
capture.kable(...) not identical to c(...).
4/6 mismatches
x[3]: "|(Intercept) |40.644 |0.775 |< 0.001 |0.022 |"
y[3]: "|(Intercept) |39.826 |0.779 |< 0.001 |-0.011 |"
x[4]: "|Sex Male |-1.889 |1.097 |0.088 | |"
y[4]: "|Sex Male |-0.258 |1.115 |0.818 | |"
x[5]: "|(Intercept) |39.933 |1.122 |< 0.001 |-0.011 |"
y[5]: "|(Intercept) |41.130 |1.197 |< 0.001 |0.009 |"
x[6]: "|time |-0.066 |0.275 |0.812 | |"
y[6]: "|time |-0.371 |0.275 |0.182 | |"
-- 32. Failure: A basic modelsum tableby call--labels, no missings (@test_models
capture.kable(...) not identical to c(...).
4/6 mismatches
x[3]: "|(Intercept) |40.644 |0.775 |< 0.001 |0.022 |"
y[3]: "|(Intercept) |39.826 |0.779 |< 0.001 |-0.011 |"
x[4]: "|Sex Male |-1.889 |1.097 |0.088 | |"
y[4]: "|Sex Male |-0.258 |1.115 |0.818 | |"
x[5]: "|(Intercept) |39.327 |0.753 |< 0.001 |-0.005 |"
y[5]: "|(Intercept) |40.528 |0.874 |< 0.001 |0.006 |"
x[6]: "|Treatment Arm B |0.820 |1.116 |0.464 | |"
y[6]: "|Treatment Arm B |-1.380 |1.128 |0.225 | |"
-- 33. Failure: A basic modelsum call--adding adjustment (@test_modelsum.R#39)
capture.kable(...) not identical to c(...).
6/8 mismatches
x[3]: "|(Intercept) |40.330 |0.964 |< 0.001 |0.014 |"
y[3]: "|(Intercept) |40.632 |1.024 |< 0.001 |-0.005 |"
x[4]: "|Sex Male |-1.820 |1.108 |0.104 | |"
y[4]: "|Sex Male |-0.221 |1.112 |0.843 | |"
x[5]: "|Treatment Arm B |0.616 |1.112 |0.581 | |"
y[5]: "|Treatment Arm B |-1.373 |1.135 |0.229 | |"
x[6]: "|(Intercept) |39.608 |1.204 |< 0.001 |-0.016 |"
y[6]: "|(Intercept) |41.938 |1.366 |< 0.001 |0.014 |"
x[7]: "|time |-0.083 |0.276 |0.764 | |"
y[7]: "|time |-0.368 |0.275 |0.184 | |"
-- 34. Failure: A basic modelsum call--suppressing intercept and/or adjustment v
capture.kable(...) not identical to c(...).
4/6 mismatches
x[3]: "|Sex Male |-1.820 |1.108 |0.104 |0.014 |"
y[3]: "|Sex Male |-0.221 |1.112 |0.843 |-0.005 |"
x[4]: "|Treatment Arm B |0.616 |1.112 |0.581 | |"
y[4]: "|Treatment Arm B |-1.373 |1.135 |0.229 | |"
x[5]: "|time |-0.083 |0.276 |0.764 |-0.016 |"
y[5]: "|time |-0.368 |0.275 |0.184 |0.014 |"
x[6]: "|Treatment Arm B |0.848 |1.126 |0.453 | |"
y[6]: "|Treatment Arm B |-1.366 |1.123 |0.227 | |"
-- 35. Failure: A basic modelsum call--suppressing intercept and/or adjustment v
capture.kable(...) not identical to c(...).
4/6 mismatches
x[3]: "|(Intercept) |40.330 |0.964 |< 0.001 |0.014 |"
y[3]: "|(Intercept) |40.632 |1.024 |< 0.001 |-0.005 |"
x[4]: "|Sex Male |-1.820 |1.108 |0.104 | |"
y[4]: "|Sex Male |-0.221 |1.112 |0.843 | |"
x[5]: "|(Intercept) |39.608 |1.204 |< 0.001 |-0.016 |"
y[5]: "|(Intercept) |41.938 |1.366 |< 0.001 |0.014 |"
x[6]: "|time |-0.083 |0.276 |0.764 | |"
y[6]: "|time |-0.368 |0.275 |0.184 | |"
-- 36. Failure: A basic modelsum call--suppressing intercept and/or adjustment v
capture.kable(...) not identical to c(...).
2/4 mismatches
x[3]: "|Sex Male |-1.820 |1.108 |0.104 |0.014 |"
y[3]: "|Sex Male |-0.221 |1.112 |0.843 |-0.005 |"
x[4]: "|time |-0.083 |0.276 |0.764 |-0.016 |"
y[4]: "|time |-0.368 |0.275 |0.184 |0.014 |"
-- 37. Failure: Reordering variables (@test_modelsum.R#90) --------------------
capture.kable(...) not identical to c(...).
4/9 mismatches
x[3]: "|(Intercept) |39.933 |1.122 |< 0.001 |-0.011 |"
y[3]: "|(Intercept) |41.130 |1.197 |< 0.001 |0.009 |"
x[4]: "|time |-0.066 |0.275 |0.812 | |"
y[4]: "|time |-0.371 |0.275 |0.182 | |"
x[5]: "|(Intercept) |40.644 |0.775 |< 0.001 |0.022 |"
y[5]: "|(Intercept) |39.826 |0.779 |< 0.001 |-0.011 |"
x[6]: "|Sex Male |-1.889 |1.097 |0.088 | |"
y[6]: "|Sex Male |-0.258 |1.115 |0.818 | |"
-- 38. Failure: strata() works (@test_modelsum.R#132) -------------------------
capture.kable(...) not identical to c(...).
1/3 mismatches
x[3]: "|ethan Heinzen |0.854 |0.457 |1.597 |0.622 |0.544 |3
x[3]: |"
y[3]: "|ethan Heinzen |1.051 |0.549 |2.014 |0.880 |0.499 |3
y[3]: |"
-- 39. Failure: 'weights=' works (@test_modelsum.R#143) -----------------------
capture.kable(summary(modelsum(Age ~ Sex, data = mdat, weights = weights))) not identical to c(...).
2/4 mismatches
x[3]: "|(Intercept) |42.531 |0.720 |< 0.001 |0.105 |"
y[3]: "|(Intercept) |39.826 |0.889 |< 0.001 |0.020 |"
x[4]: "|**Sex Male** |-3.784 |1.117 |0.001 | |"
y[4]: "|**Sex Male** |1.953 |1.167 |0.098 | |"
-- 40. Failure: 02/13/2017: Krista Goergen's survival subset and NA problems (@t
capture.kable(...) not identical to c(...).
4/6 mismatches
x[3]: "|Sex Male |2.615 |0.805 |8.488 |0.110 |0.673 |0
x[3]: |"
y[3]: "|Sex Male |0.612 |0.210 |1.786 |0.369 |0.592 |0
y[3]: |"
x[4]: "|Age in Years |1.016 |0.928 |1.113 |0.729 | |
x[4]: |"
y[4]: "|Age in Years |1.061 |0.968 |1.164 |0.205 | |
y[4]: |"
x[5]: "|ethan Heinzen |0.468 |0.119 |1.836 |0.276 |0.613 |3
x[5]: |"
y[5]: "|ethan Heinzen |1.019 |0.297 |3.501 |0.976 |0.639 |3
y[5]: |"
x[6]: "|Age in Years |0.978 |0.889 |1.074 |0.637 | |
x[6]: |"
y[6]: "|Age in Years |1.058 |0.960 |1.166 |0.258 | |
y[6]: |"
-- 41. Failure: 04/12/2017: ... vs modelsum.control (@test_modelsum.R#288) ----
capture.kable(...) not identical to c(...).
4/6 mismatches
x[3]: "|(Intercept) |40.330 |0.964 |< 0.001 |0.014 |"
y[3]: "|(Intercept) |40.632 |1.024 |< 0.001 |-0.005 |"
x[4]: "|Sex Male |-1.820 |1.108 |0.104 | |"
y[4]: "|Sex Male |-0.221 |1.112 |0.843 | |"
x[5]: "|(Intercept) |39.608 |1.204 |< 0.001 |-0.016 |"
y[5]: "|(Intercept) |41.938 |1.366 |< 0.001 |0.014 |"
x[6]: "|time |-0.083 |0.276 |0.764 | |"
y[6]: "|time |-0.368 |0.275 |0.184 | |"
-- 42. Failure: 02/23/2018: wrapping long labels (#59) (@test_modelsum.R#405) -
capture.kable(...) not identical to c(...).
4/14 mismatches
x[8]: "|(Intercept) |39.933 |1.122 |< 0.001 |-0.011
x[8]: |"
y[8]: "|(Intercept) |41.130 |1.197 |< 0.001 |0.009
y[8]: |"
x[9]: "|Another really long label. |-0.066 |0.275 |0.812 |
x[9]: |"
y[9]: "|Another really long label. |-0.371 |0.275 |0.182 |
y[9]: |"
x[12]: "|(Intercept) |39.070 |2.098 |< 0.001 |-0.010
x[12]: |"
y[12]: "|(Intercept) |41.531 |2.017 |< 0.001 |-0.001
y[12]: |"
x[13]: "|ThisLabelHasNoSpacesSoLetsSeeH |-0.000 |0.000 |0.756 |
x[13]: |"
y[13]: "|ThisLabelHasNoSpacesSoLetsSeeH |0.000 |0.000 |0.348 |
y[13]: |"
-- 43. Failure: 06/19/2018: term.name (#109) (@test_modelsum.R#468) -----------
capture.kable(...) not identical to c(...).
6/8 mismatches
x[3]: "|(Intercept) |40.330 |0.964 |< 0.001 |0.014 |"
y[3]: "|(Intercept) |40.632 |1.024 |< 0.001 |-0.005 |"
x[4]: "|Sex Male |-1.820 |1.108 |0.104 | |"
y[4]: "|Sex Male |-0.221 |1.112 |0.843 | |"
x[5]: "|Treatment Arm B |0.616 |1.112 |0.581 | |"
y[5]: "|Treatment Arm B |-1.373 |1.135 |0.229 | |"
x[6]: "|(Intercept) |39.608 |1.204 |< 0.001 |-0.016 |"
y[6]: "|(Intercept) |41.938 |1.366 |< 0.001 |0.014 |"
x[7]: "|time |-0.083 |0.276 |0.764 | |"
y[7]: "|time |-0.368 |0.275 |0.184 | |"
-- 44. Failure: 08/24/2018: latex (#123) (@test_modelsum.R#485) ---------------
capture.output(...) not identical to c(...).
3/13 mismatches
x[6]: "(Intercept) & 40.330 & 0.964 & < 0.001 & 0.014\\\\"
y[6]: "(Intercept) & 40.632 & 1.024 & < 0.001 & -0.005\\\\"
x[8]: "\\textbf{Sex Male} & -1.820 & 1.108 & 0.104 & \\\\"
y[8]: "\\textbf{Sex Male} & -0.221 & 1.112 & 0.843 & \\\\"
x[10]: "\\textbf{Treatment Arm B} & 0.616 & 1.112 & 0.581 & \\\\"
y[10]: "\\textbf{Treatment Arm B} & -1.373 & 1.135 & 0.229 & \\\\"
-- 45. Failure: 09/05/2018: correctly label contrasts for ordinal variables (#13
capture.kable(...) not identical to c(...).
7/9 mismatches
x[3]: "|(Intercept) |39.743 |7.202 |< 0.001 |-0.046 |"
y[3]: "|(Intercept) |47.686 |7.301 |< 0.001 |-0.019 |"
x[4]: "|Phase .L |1.059 |0.951 |0.268 | |"
y[4]: "|Phase .L |-0.679 |1.152 |0.557 | |"
x[5]: "|Phase .Q |-0.476 |1.077 |0.660 | |"
y[5]: "|Phase .Q |-1.044 |0.960 |0.280 | |"
x[6]: "|Group.ord .L |0.185 |1.007 |0.855 | |"
y[6]: "|Group.ord .L |0.243 |0.977 |0.804 | |"
x[7]: "|Group.ord .Q |0.171 |0.995 |0.864 | |"
y[7]: "|Group.ord .Q |0.410 |1.069 |0.702 | |"
-- 46. Failure: A basic two-sided tableby call--no labels, no missings (@test_ta
capture.kable(...) not identical to c(...).
10/12 mismatches
x[3]: "|Sex | | |
x[3]: | | 0.670|"
y[3]: "|Sex | | |
y[3]: | | 0.733|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) |
x[4]: 14 (46.7%) | 45 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) |
y[4]: 14 (46.7%) | 46 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) |
x[5]: 16 (53.3%) | 45 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) |
y[5]: 16 (53.3%) | 44 (48.9%) | |"
x[6]: "|time | | |
x[6]: | | 0.820|"
y[6]: "|time | | |
y[6]: | | 0.025|"
x[7]: "|- Mean (SD) | 3.567 (2.192) | 3.700 (2.037) |
x[7]: 3.367 (1.938) | 3.544 (2.040) | |"
y[7]: "|- Mean (SD) | 4.567 (1.813) | 3.167 (2.036) |
y[7]: 3.833 (2.001) | 3.856 (2.014) | |"
-- 47. Failure: A basic two-sided tableby call--labels, no missings (@test_table
capture.kable(...) not identical to c(...).
7/13 mismatches
x[7]: "|Treatment Arm | | | |
x[7]: | 0.427|"
y[7]: "|Treatment Arm | | | |
y[7]: | 0.659|"
x[8]: "|- A | 16 (53.3%) | 14 (46.7%) | 19 (63.3%) |
x[8]: 49 (54.4%) | |"
y[8]: "|- A | 14 (46.7%) | 11 (36.7%) | 11 (36.7%) |
y[8]: 36 (40.0%) | |"
x[9]: "|- B | 14 (46.7%) | 16 (53.3%) | 11 (36.7%) |
x[9]: 41 (45.6%) | |"
y[9]: "|- B | 16 (53.3%) | 19 (63.3%) | 19 (63.3%) |
y[9]: 54 (60.0%) | |"
x[10]: "|Phase | | | |
x[10]: | 0.821|"
y[10]: "|Phase | | | |
y[10]: | 0.008|"
x[11]: "|- I | 7 (23.3%) | 11 (36.7%) | 11 (36.7%) |
x[11]: 29 (32.2%) | |"
y[11]: "|- I | 11 (36.7%) | 12 (40.0%) | 0 (0.0%) |
y[11]: 23 (25.6%) | |"
-- 48. Failure: A basic two-sided tableby call--no labels, some missings (@test_
capture.kable(summary(tableby(Group ~ ethan, data = mdat), text = TRUE)) not identical to c(...).
3/6 mismatches
x[3]: "|ethan | | | | | 0.
x[3]: 905|"
y[3]: "|ethan | | | | | 0.
y[3]: 178|"
x[5]: "|- Ethan | 13 (48.1%) | 16 (53.3%) | 16 (53.3%) | 45 (51.7%) |
x[5]: |"
y[5]: "|- Ethan | 17 (63.0%) | 13 (43.3%) | 12 (40.0%) | 42 (48.3%) |
y[5]: |"
x[6]: "|- Heinzen | 14 (51.9%) | 14 (46.7%) | 14 (46.7%) | 42 (48.3%) |
x[6]: |"
y[6]: "|- Heinzen | 10 (37.0%) | 17 (56.7%) | 18 (60.0%) | 45 (51.7%) |
y[6]: |"
-- 49. Failure: A basic one-sided tableby call--no labels, no missings (@test_ta
capture.kable(...) not identical to c(...).
5/11 mismatches
x[4]: "|- Female | 45 (50.0%) |"
y[4]: "|- Female | 46 (51.1%) |"
x[5]: "|- Male | 45 (50.0%) |"
y[5]: "|- Male | 44 (48.9%) |"
x[7]: "|- Mean (SD) | 3.544 (2.040) |"
y[7]: "|- Mean (SD) | 3.856 (2.014) |"
x[10]: "|- Median | 1949-07-01 |"
y[10]: "|- Median | 1949-10-07 |"
x[11]: "|- Range | 1932-02-03 - 1959-09-06 |"
y[11]: "|- Range | 1935-08-15 - 1968-05-14 |"
-- 50. Failure: A basic one-sided tableby call--labels, no missings (@test_table
capture.kable(...) not identical to c(...).
2/9 mismatches
x[8]: "|- A | 49 (54.4%) |"
y[8]: "|- A | 36 (40.0%) |"
x[9]: "|- B | 41 (45.6%) |"
y[9]: "|- B | 54 (60.0%) |"
-- 51. Failure: A basic one-sided tableby call--no labels, some missings (Sarah
capture.kable(summary(tableby(~ethan, data = mdat), text = TRUE)) not identical to c(...).
2/6 mismatches
x[5]: "|- Ethan | 45 (51.7%) |"
y[5]: "|- Ethan | 42 (48.3%) |"
x[6]: "|- Heinzen | 42 (48.3%) |"
y[6]: "|- Heinzen | 45 (51.7%) |"
-- 52. Failure: A basic two-sided tableby call--no p-value, no total (@test_tabl
capture.kable(...) not identical to c(...).
2/8 mismatches
x[7]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) |"
y[7]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) |"
x[8]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) |"
y[8]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) |"
-- 53. Failure: A basic two-sided tableby call--p-value, no total (@test_tableby
capture.kable(...) not identical to c(...).
3/8 mismatches
x[6]: "|Sex | | | | 0
x[6]: .670|"
y[6]: "|Sex | | | | 0
y[6]: .733|"
x[7]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) |
x[7]: |"
y[7]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) |
y[7]: |"
x[8]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) |
x[8]: |"
y[8]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) |
y[8]: |"
-- 54. Failure: A basic two-sided tableby call--p-value, no total (@test_tableby
capture.kable(...) not identical to c(...).
3/8 mismatches
x[6]: "|Sex | | | | 0
x[6]: .670|"
y[6]: "|Sex | | | | 0
y[6]: .733|"
x[7]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) |
x[7]: |"
y[7]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) |
y[7]: |"
x[8]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) |
x[8]: |"
y[8]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) |
y[8]: |"
-- 55. Failure: A basic two-sided tableby markdown output (@test_tableby.R#170)
capture.kable(...) not identical to c(...).
8/19 mismatches
x[7]: "|**Sex** | |
x[7]: | | 0.670^2^|"
y[7]: "|**Sex** | |
y[7]: | | 0.733^2^|"
x[8]: "| Female | 17 (56.7%) | 14 (46.7%)
x[8]: | 14 (46.7%) | |"
y[8]: "| Female | 15 (50.0%) | 17 (56.7%)
y[8]: | 14 (46.7%) | |"
x[9]: "| Male | 13 (43.3%) | 16 (53.3%)
x[9]: | 16 (53.3%) | |"
y[9]: "| Male | 15 (50.0%) | 13 (43.3%)
y[9]: | 16 (53.3%) | |"
x[12]: "| Ethan | 13 (48.1%) | 16 (53.3%)
x[12]: | 16 (53.3%) | |"
y[12]: "| Ethan | 17 (63.0%) | 13 (43.3%)
y[12]: | 12 (40.0%) | |"
x[13]: "| Heinzen | 14 (51.9%) | 14 (46.7%)
x[13]: | 14 (46.7%) | |"
y[13]: "| Heinzen | 10 (37.0%) | 17 (56.7%)
y[13]: | 18 (60.0%) | |"
-- 56. Failure: The by-variable droplevels is working correctly (@test_tableby.R
capture.kable(...) not identical to c(...).
9/11 mismatches
x[3]: "|Sex | | |
x[3]: | 0.438|"
y[3]: "|Sex | | |
y[3]: | 0.605|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) |
x[4]: 31 (51.7%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) |
y[4]: 32 (53.3%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) |
x[5]: 29 (48.3%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) |
y[5]: 28 (46.7%) | |"
x[6]: "|time | | |
x[6]: | 0.808|"
y[6]: "|time | | |
y[6]: | 0.007|"
x[7]: "|- Mean (SD) | 3.567 (2.192) | 3.700 (2.037) |
x[7]: 3.633 (2.099) | |"
y[7]: "|- Mean (SD) | 4.567 (1.813) | 3.167 (2.036) |
y[7]: 3.867 (2.038) | |"
-- 57. Failure: Using cat.simplify (@test_tableby.R#225) ----------------------
capture.kable(...) not identical to c(...).
2/4 mismatches
x[3]: "|Sex | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 45 (50.0%) |
x[3]: 0.670|"
y[3]: "|Sex | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 44 (48.9%) |
y[3]: 0.733|"
x[4]: "|Treatment Arm | 14 (46.7%) | 16 (53.3%) | 11 (36.7%) | 41 (45.6%) |
x[4]: 0.427|"
y[4]: "|Treatment Arm | 16 (53.3%) | 19 (63.3%) | 19 (63.3%) | 54 (60.0%) |
y[4]: 0.659|"
-- 58. Failure: Changing tests (@test_tableby.R#291) --------------------------
capture.kable(...) not identical to c(...).
6/13 mismatches
x[3]: "|Sex | | | |
x[3]: | 0.774|"
y[3]: "|Sex | | | |
y[3]: | 0.806|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) | 4
x[4]: 5 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) | 4
y[4]: 6 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 4
x[5]: 5 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 4
y[5]: 4 (48.9%) | |"
x[11]: "|- I | 7 (23.3%) | 11 (36.7%) | 11 (36.7%) | 2
x[11]: 9 (32.2%) | |"
y[11]: "|- I | 11 (36.7%) | 12 (40.0%) | 0 (0.0%) | 2
y[11]: 3 (25.6%) | |"
x[12]: "|- II | 11 (36.7%) | 7 (23.3%) | 6 (20.0%) | 2
x[12]: 4 (26.7%) | |"
y[12]: "|- II | 10 (33.3%) | 12 (40.0%) | 19 (63.3%) | 4
y[12]: 1 (45.6%) | |"
-- 59. Failure: Changing labels (@test_tableby.R#320) -------------------------
capture.kable(summary(tb, text = TRUE)) not identical to c(...).
3/8 mismatches
x[3]: "|Sex | | | |
x[3]: | 0.670|"
y[3]: "|Sex | | | |
y[3]: | 0.733|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) | 4
x[4]: 5 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) | 4
y[4]: 6 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 4
x[5]: 5 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 4
y[5]: 4 (48.9%) | |"
-- 60. Failure: Changing labels (@test_tableby.R#333) -------------------------
capture.kable(summary(tb, text = TRUE)) not identical to c(...).
3/8 mismatches
x[3]: "|Sex | | | |
x[3]: | 0.670|"
y[3]: "|Sex | | | |
y[3]: | 0.733|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) | 4
x[4]: 5 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) | 4
y[4]: 6 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 4
x[5]: 5 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 4
y[5]: 4 (48.9%) | |"
-- 61. Failure: Changing labels (@test_tableby.R#347) -------------------------
capture.kable(summary(tb, text = TRUE)) not identical to c(...).
3/8 mismatches
x[3]: "|Gender | | | |
x[3]: | 0.670|"
y[3]: "|Gender | | | |
y[3]: | 0.733|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7%) | 4
x[4]: 5 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7%) | 4
y[4]: 6 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 4
x[5]: 5 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 4
y[5]: 4 (48.9%) | |"
-- 62. Failure: 05/25/2017: simulate.p.value option for chisq.test (@test_tableb
identical(...) isn't true.
-- 63. Failure: 05/25/2017: chisq.correct=FALSE option for chisq.test (@test_tab
identical(...) isn't true.
-- 64. Failure: 05/25/2017: simulate.p.value=TRUE option for fisher.test (@test_
identical(...) isn't true.
-- 65. Failure: 03/17/2017: Beth's medianq1q3 label (@test_tableby.R#451) -----
capture.kable(...) not identical to c(...).
4/8 mismatches
x[3]: "|Height in Inches | | |
x[3]: | | 0.266|"
y[3]: "|Height in Inches | | |
y[3]: | | 0.785|"
x[5]: "|- Median (Q1, Q3) | 65.000 (60.250, 68.000) | 67.000 (64.000, 68.750) |
x[5]: 63.000 (61.250, 68.000) | 66.000 (62.000, 68.000) | |"
y[5]: "|- Median (Q1, Q3) | 64.500 (62.000, 68.000) | 64.000 (61.000, 68.750) |
y[5]: 64.500 (62.000, 68.000) | 64.000 (62.000, 68.000) | |"
x[6]: "|time | | |
x[6]: | | 0.820|"
y[6]: "|time | | |
y[6]: | | 0.025|"
x[8]: "|- Median (Q1, Q3) | 3.500 (2.000, 5.000) | 3.500 (2.000, 5.000) |
x[8]: 3.000 (2.000, 5.000) | 3.000 (2.000, 5.000) | |"
y[8]: "|- Median (Q1, Q3) | 5.000 (3.250, 6.000) | 3.000 (1.250, 5.000) |
y[8]: 4.000 (2.000, 5.000) | 4.000 (2.000, 6.000) | |"
-- 66. Failure: 04/12/2017: Katherine King's cat.simplify vs tableby.control (@t
capture.kable(...) not identical to c(...).
2/4 mismatches
x[3]: "|Treatment Arm | 14 (46.7%) | 16 (53.3%) | 11 (36.7%) | 41 (45.6%) |
x[3]: 0.427|"
y[3]: "|Treatment Arm | 16 (53.3%) | 19 (63.3%) | 19 (63.3%) | 54 (60.0%) |
y[3]: 0.659|"
x[4]: "|Sex | 13 (43.3%) | 16 (53.3%) | 16 (53.3%) | 45 (50.0%) |
x[4]: 0.670|"
y[4]: "|Sex | 15 (50.0%) | 13 (43.3%) | 16 (53.3%) | 44 (48.9%) |
y[4]: 0.733|"
-- 67. Failure: 09/13/2017: Peter Martin and rounding to integers (#23) (@test_t
capture.kable(...) not identical to c(...).
10/12 mismatches
x[3]: "|Sex | | |
x[3]: | | 0.670|"
y[3]: "|Sex | | |
y[3]: | | 0.733|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) |
x[4]: 14 (46.7%) | 45 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) |
y[4]: 14 (46.7%) | 46 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) |
x[5]: 16 (53.3%) | 45 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) |
y[5]: 16 (53.3%) | 44 (48.9%) | |"
x[6]: "|time | | |
x[6]: | | 0.820|"
y[6]: "|time | | |
y[6]: | | 0.025|"
x[7]: "|- Mean (SD) | 4 (2) | 4 (2) |
x[7]: 3 (2) | 4 (2) | |"
y[7]: "|- Mean (SD) | 5 (2) | 3 (2) |
y[7]: 4 (2) | 4 (2) | |"
-- 68. Failure: 7/27/2017: as.data.frame.tableby and dates (#10) (@test_tableby.
as.data.frame(tableby(~dt, data = mdat))$Overall[[3]][2] not identical to as.Date("1968-05-14").
Mean relative difference: 0.8416446
-- 69. Failure: 01/31/2018 and 6/4/18: row and cell percents (#9, #106) (@test_t
capture.kable(...) not identical to c(...).
22/25 mismatches
x[3]: "|Sex | | |
x[3]: | | 0.670|"
y[3]: "|Sex | | |
y[3]: | | 0.733|"
x[4]: "|- Female | 17 (56.7%) | 14 (46.7%) | 14 (46.7
x[4]: %) | 45 (50.0%) | |"
y[4]: "|- Female | 15 (50.0%) | 17 (56.7%) | 14 (46.7
y[4]: %) | 46 (51.1%) | |"
x[5]: "|- Male | 13 (43.3%) | 16 (53.3%) | 16 (53.3
x[5]: %) | 45 (50.0%) | |"
y[5]: "|- Male | 15 (50.0%) | 13 (43.3%) | 16 (53.3
y[5]: %) | 44 (48.9%) | |"
x[6]: "|- Female | 17 (37.8%) | 14 (31.1%) | 14 (31.1
x[6]: %) | 45 (100.0%) | |"
y[6]: "|- Female | 15 (32.6%) | 17 (37.0%) | 14 (30.4
y[6]: %) | 46 (100.0%) | |"
x[7]: "|- Male | 13 (28.9%) | 16 (35.6%) | 16 (35.6
x[7]: %) | 45 (100.0%) | |"
y[7]: "|- Male | 15 (34.1%) | 13 (29.5%) | 16 (36.4
y[7]: %) | 44 (100.0%) | |"
-- 70. Failure: 01/31/2018: include NAs in percents (#57, #62) (@test_tableby.R#
capture.kable(...) not identical to c(...).
9/10 mismatches
x[1]: "| | Female (N=45) | Male (N=45) | Total (N=90) | p value|"
y[1]: "| | Female (N=46) | Male (N=44) | Total (N=90) | p value|"
x[3]: "|Ethan | | | | 0.730|"
y[3]: "|Ethan | | | | 0.229|"
x[4]: "|- Ethan | 21 (46.7%) | 24 (53.3%) | 45 (100.0%) | |"
y[4]: "|- Ethan | 18 (42.9%) | 24 (57.1%) | 42 (100.0%) | |"
x[5]: "|- Heinzen | 22 (52.4%) | 20 (47.6%) | 42 (100.0%) | |"
y[5]: "|- Heinzen | 27 (60.0%) | 18 (40.0%) | 45 (100.0%) | |"
x[6]: "|- N-Miss | 2 (66.7%) | 1 (33.3%) | 3 (100.0%) | |"
y[6]: "|- N-Miss | 1 (33.3%) | 2 (66.7%) | 3 (100.0%) | |"
-- 71. Failure: 01/31/2018: include NAs in percents (#57, #62) (@test_tableby.R#
capture.kable(...) not identical to c(...).
5/6 mismatches
x[1]: "| | Female (N=45) | Male (N=45) | Total (N=90) | p value|"
y[1]: "| | Female (N=46) | Male (N=44) | Total (N=90) | p value|"
x[3]: "|Ethan | | | | 0.730|"
y[3]: "|Ethan | | | | 0.229|"
x[4]: "|- Ethan | 21 (46.7%) | 24 (53.3%) | 45 (50.0%) | |"
y[4]: "|- Ethan | 18 (39.1%) | 24 (54.5%) | 42 (46.7%) | |"
x[5]: "|- Heinzen | 22 (48.9%) | 20 (44.4%) | 42 (46.7%) | |"
y[5]: "|- Heinzen | 27 (58.7%) | 18 (40.9%) | 45 (50.0%) | |"
x[6]: "|- N-Miss | 2 (4.4%) | 1 (2.2%) | 3 (3.3%) | |"
y[6]: "|- N-Miss | 1 (2.2%) | 2 (4.5%) | 3 (3.3%) | |"
-- 72. Failure: 02/23/2018: wrapping long labels (#59) (@test_tableby.R#712) --
capture.kable(...) not identical to c(...).
10/16 mismatches
x[1]: "| | Female (N=45) | Male (N
x[1]: =45) | Total (N=90) | p value|"
y[1]: "| | Female (N=46) | Male (N
y[1]: =44) | Total (N=90) | p value|"
x[3]: "|This is a really long label | |
x[3]: | | 0.670|"
y[3]: "|This is a really long label | |
y[3]: | | 0.733|"
x[5]: "|- High | 17 (37.8%) | 13 (28.
x[5]: 9%) | 30 (33.3%) | |"
y[5]: "|- High | 15 (32.6%) | 15 (34.
y[5]: 1%) | 30 (33.3%) | |"
x[6]: "|- Low | 14 (31.1%) | 16 (35.
x[6]: 6%) | 30 (33.3%) | |"
y[6]: "|- Low | 17 (37.0%) | 13 (29.
y[6]: 5%) | 30 (33.3%) | |"
x[7]: "|- Med | 14 (31.1%) | 16 (35.
x[7]: 6%) | 30 (33.3%) | |"
y[7]: "|- Med | 14 (30.4%) | 16 (36.
y[7]: 4%) | 30 (33.3%) | |"
-- 73. Failure: 03/07/2018: quantiles for dates and IQR (#86) (@test_tableby.R#7
capture.kable(...) not identical to c(...).
10/11 mismatches
x[1]: "| | Female (N=45) | Male (N=45) |
x[1]: Total (N=90) | p value|"
y[1]: "| | Female (N=46) | Male (N=44) |
y[1]: Total (N=90) | p value|"
x[3]: "|dt | | |
x[3]: | 0.806|"
y[3]: "|dt | | |
y[3]: | 0.339|"
x[4]: "|- Q1, Q3 | 1945-03-04, 1953-05-30 | 1944-07-31, 1953-11-08 | 194
x[4]: 4-09-18, 1953-09-25 | |"
y[4]: "|- Q1, Q3 | 1946-04-26, 1953-11-07 | 1946-11-27, 1954-06-13 | 194
y[4]: 6-06-13, 1954-04-26 | |"
x[5]: "|- IQR | 3009.000 | 3387.000 |
x[5]: 3293.750 | |"
y[5]: "|- IQR | 2751.250 | 2755.500 |
y[5]: 2873.250 | |"
x[6]: "|Height in Inches | | |
x[6]: | 0.721|"
y[6]: "|Height in Inches | | |
y[6]: | 0.786|"
-- 74. Failure: 06/19/2018: term.name (#109) (@test_tableby.R#798) ------------
capture.kable(...) not identical to c(...).
3/6 mismatches
x[3]: "|ethan | | | | | 0.
x[3]: 905|"
y[3]: "|ethan | | | | | 0.
y[3]: 178|"
x[5]: "|- Ethan | 13 (48.1%) | 16 (53.3%) | 16 (53.3%) | 45 (51.7%) |
x[5]: |"
y[5]: "|- Ethan | 17 (63.0%) | 13 (43.3%) | 12 (40.0%) | 42 (48.3%) |
y[5]: |"
x[6]: "|- Heinzen | 14 (51.9%) | 14 (46.7%) | 14 (46.7%) | 42 (48.3%) |
x[6]: |"
y[6]: "|- Heinzen | 10 (37.0%) | 17 (56.7%) | 18 (60.0%) | 45 (51.7%) |
y[6]: |"
-- 75. Failure: 08/24/2018: latex (#123) (@test_tableby.R#814) ----------------
capture.output(summary(tableby(Group ~ ethan, data = mdat), text = "latex")) not identical to c(...).
3/15 mismatches
x[6]: "\\textbf{ethan} & & & & & 0.905\\\\"
y[6]: "\\textbf{ethan} & & & & & 0.178\\\\"
x[10]: "~~~Ethan & 13 (48.1%) & 16 (53.3%) & 16 (53.3%) & 45 (51.7%) & \\\\"
y[10]: "~~~Ethan & 17 (63.0%) & 13 (43.3%) & 12 (40.0%) & 42 (48.3%) & \\\\"
x[12]: "~~~Heinzen & 14 (51.9%) & 14 (46.7%) & 14 (46.7%) & 42 (48.3%) & \\\\"
y[12]: "~~~Heinzen & 10 (37.0%) & 17 (56.7%) & 18 (60.0%) & 45 (51.7%) & \\\\"
== testthat results ===========================================================
OK: 273 SKIPPED: 0 FAILED: 75
1. Failure: A basic freqlist call (@test_freqlist.R#18)
2. Failure: strata option in freqlist call (@test_freqlist.R#43)
3. Failure: sparse option in freqlist call (@test_freqlist.R#78)
4. Failure: NA options in freqlist call (@test_freqlist.R#105)
5. Failure: NA options in freqlist call (@test_freqlist.R#116)
6. Failure: NA options in freqlist call (@test_freqlist.R#127)
7. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#151)
8. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#156)
9. Failure: Changing the labels on non-grouped freqlists (@test_freqlist.R#161)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 3.0.0
Check: examples
Result: ERROR
Running examples in ‘arsenal-Ex.R’ failed
The error most likely occurred in:
> ### Name: write2
> ### Title: write2
> ### Aliases: write2 write2.arsenal_table write2.summary.arsenal_table
> ### write2.comparedf write2.summary.comparedf write2.verbatim write2.yaml
> ### write2.code.chunk write2.knitr_kable write2.xtable write2.character
> ### write2.list write2.default
>
> ### ** Examples
>
> ## Not run:
> ##D data(mockstudy)
> ##D # tableby example
> ##D tab1 <- tableby(arm ~ sex + age, data=mockstudy)
> ##D write2(tab1, tempfile(fileext = ".rtf"),
> ##D toc = TRUE, # passed to rmarkdown::rtf_document, though in this case it's not practical
> ##D quiet = TRUE, # passed to rmarkdown::render
> ##D title = "My cool new title", # passed to summary.tableby
> ##D output_format = rmarkdown::rtf_document)
> ## End(Not run)
>
> write2html(list(
+ "# Header 1", # a header
+ code.chunk(a <- 1, b <- 2, a + b), # a code chunk
+ verbatim("hi there") # verbatim output
+ ),
+ tempfile(fileext = ".html"),
+ quite = TRUE)
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Execution halted
Flavor: r-patched-solaris-x86
Version: 3.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [44s/110s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(arsenal)
>
> test_check("arsenal")
── 1. Failure: write2.tableby -> HTML (@test_write2.R#28) ─────────────────────
`FUN(...)` threw an error.
Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 2. Failure: write2.tableby -> HTML (@test_write2.R#28) ─────────────────────
file.remove(filename) isn't true.
── 3. Failure: write2.modelsum -> HTML (@test_write2.R#34) ────────────────────
`FUN(...)` threw an error.
Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 4. Failure: write2.modelsum -> HTML (@test_write2.R#34) ────────────────────
file.remove(filename) isn't true.
── 5. Failure: write2.freqlist -> HTML (@test_write2.R#42) ────────────────────
`FUN(...)` threw an error.
Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 6. Failure: write2.freqlist -> HTML (@test_write2.R#42) ────────────────────
file.remove(filename) isn't true.
── 7. Failure: write2.freqlist -> doc (@test_write2.R#47) ─────────────────────
`FUN(...)` threw an error.
Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 8. Failure: write2.freqlist -> doc (@test_write2.R#47) ─────────────────────
file.remove(filename) isn't true.
── 9. Failure: write2.list (summary objects) -> PDF (@test_write2.R#59) ───────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 10. Failure: write2.list (summary objects) -> PDF (@test_write2.R#59) ──────
file.remove(filename) isn't true.
── 11. Failure: write2.list -> PDF (@test_write2.R#101) ───────────────────────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 12. Failure: write2.list -> PDF (@test_write2.R#101) ───────────────────────
file.remove(filename) isn't true.
── 13. Failure: write2.list -> Word (@test_write2.R#105) ──────────────────────
`FUN(...)` threw an error.
Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 14. Failure: write2.list -> Word (@test_write2.R#105) ──────────────────────
file.remove(filename) isn't true.
── 15. Failure: write2.list recursion -> PDF (@test_write2.R#109) ─────────────
`FUN(...)` threw an error.
Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 16. Failure: write2.list recursion -> PDF (@test_write2.R#109) ─────────────
file.remove(filename) isn't true.
── 17. Failure: write2.default -> PDF (@test_write2.R#120) ────────────────────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 18. Failure: write2.default -> PDF (@test_write2.R#120) ────────────────────
file.remove(filename) isn't true.
── 19. Failure: write2.verbatim -> html (@test_write2.R#125) ──────────────────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 20. Failure: write2.verbatim -> html (@test_write2.R#125) ──────────────────
file.remove(filename) isn't true.
── 21. Failure: Writing HTML from PDF works (#162) (@test_write2.R#131) ───────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 22. Failure: Writing HTML from PDF works (#162) (@test_write2.R#131) ───────
file.remove(filename) isn't true.
── 23. Failure: write2.yaml -> PDF (@test_write2.R#164) ───────────────────────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 24. Failure: write2.yaml -> PDF (@test_write2.R#164) ───────────────────────
file.remove(filename) isn't true.
── 25. Failure: write2.yaml -> PDF (@test_write2.R#165) ───────────────────────
`FUN(...)` threw an error.
Message: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
Class: simpleError/error/condition
── 26. Failure: write2.yaml -> PDF (@test_write2.R#165) ───────────────────────
file.remove(filename) isn't true.
══ testthat results ═══════════════════════════════════════════════════════════
OK: 386 SKIPPED: 0 FAILED: 26
1. Failure: write2.tableby -> HTML (@test_write2.R#28)
2. Failure: write2.tableby -> HTML (@test_write2.R#28)
3. Failure: write2.modelsum -> HTML (@test_write2.R#34)
4. Failure: write2.modelsum -> HTML (@test_write2.R#34)
5. Failure: write2.freqlist -> HTML (@test_write2.R#42)
6. Failure: write2.freqlist -> HTML (@test_write2.R#42)
7. Failure: write2.freqlist -> doc (@test_write2.R#47)
8. Failure: write2.freqlist -> doc (@test_write2.R#47)
9. Failure: write2.list (summary objects) -> PDF (@test_write2.R#59)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86
Version: 2.0.0
Check: examples
Result: ERROR
Running examples in ‘arsenal-Ex.R’ failed
The error most likely occurred in:
> ### Name: write2
> ### Title: write2
> ### Aliases: write2 write2.arsenal_table write2.summary.arsenal_table
> ### write2.compare.data.frame write2.summary.compare.data.frame
> ### write2.verbatim write2.yaml write2.code.chunk write2.knitr_kable
> ### write2.xtable write2.character write2.list write2.default
>
> ### ** Examples
>
> ## Not run:
> ##D data(mockstudy)
> ##D # tableby example
> ##D tab1 <- tableby(arm ~ sex + age, data=mockstudy)
> ##D write2(tab1, tempfile(fileext = ".rtf"),
> ##D toc = TRUE, # passed to rmarkdown::rtf_document, though in this case it's not practical
> ##D quiet = TRUE, # passed to rmarkdown::render
> ##D title = "My cool new title", # passed to summary.tableby
> ##D output_format = rmarkdown::rtf_document)
> ## End(Not run)
>
> write2html(list(
+ "# Header 1", # a header
+ code.chunk(a <- 1, b <- 2, a + b), # a code chunk
+ verbatim("hi there") # verbatim output
+ ),
+ tempfile(fileext = ".html"),
+ quite = TRUE)
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Execution halted
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [24s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
══ testthat results ═══════════════════════════════════════════════════════════
OK: 338 SKIPPED: 0 FAILED: 26
1. Failure: write2.tableby -> HTML (@test_write2.R#28)
2. Failure: write2.tableby -> HTML (@test_write2.R#28)
3. Failure: write2.modelsum -> HTML (@test_write2.R#34)
4. Failure: write2.modelsum -> HTML (@test_write2.R#34)
5. Failure: write2.freqlist -> HTML (@test_write2.R#42)
6. Failure: write2.freqlist -> HTML (@test_write2.R#42)
7. Failure: write2.freqlist -> doc (@test_write2.R#47)
8. Failure: write2.freqlist -> doc (@test_write2.R#47)
9. Failure: write2.list (summary objects) -> PDF (@test_write2.R#59)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-osx-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [26s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
══ testthat results ═══════════════════════════════════════════════════════════
OK: 336 SKIPPED: 0 FAILED: 27
1. Error: ordinal works (@test_modelsum.R#158)
2. Failure: write2.tableby -> HTML (@test_write2.R#28)
3. Failure: write2.tableby -> HTML (@test_write2.R#28)
4. Failure: write2.modelsum -> HTML (@test_write2.R#34)
5. Failure: write2.modelsum -> HTML (@test_write2.R#34)
6. Failure: write2.freqlist -> HTML (@test_write2.R#42)
7. Failure: write2.freqlist -> HTML (@test_write2.R#42)
8. Failure: write2.freqlist -> doc (@test_write2.R#47)
9. Failure: write2.freqlist -> doc (@test_write2.R#47)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-osx-x86_64