-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integration tests, implement testthat 3rd edition (#59)
Fixes #58
- Loading branch information
Showing
3 changed files
with
41 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# summarize_rbmi works as expected with valid input | ||
|
||
Code | ||
result | ||
Output | ||
Visit ref alt | ||
————————————————————————————————————————————————————————————————————————— | ||
4 | ||
Adjusted Mean (SE) -1.616 (0.486) -1.708 (0.475) | ||
95% CI (-2.576, -0.656) (-2.645, -0.770) | ||
Difference in Adjusted Means (SE) -0.092 (0.683) | ||
95% CI (-1.439, 1.256) | ||
Relative Reduction (%) 5.7% | ||
p-value (RBMI) 0.8932 | ||
5 | ||
Adjusted Mean (SE) -4.225 (0.656) -2.874 (0.648) | ||
95% CI (-5.520, -2.930) (-4.154, -1.593) | ||
Difference in Adjusted Means (SE) 1.351 (0.922) | ||
95% CI (-0.470, 3.172) | ||
Relative Reduction (%) -32.0% | ||
p-value (RBMI) 0.1447 | ||
6 | ||
Adjusted Mean (SE) -6.381 (0.703) -4.159 (0.696) | ||
95% CI (-7.771, -4.991) (-5.536, -2.782) | ||
Difference in Adjusted Means (SE) 2.222 (0.975) | ||
95% CI (0.296, 4.149) | ||
Relative Reduction (%) -34.8% | ||
p-value (RBMI) 0.0241 | ||
7 | ||
Adjusted Mean (SE) -7.580 (0.791) -4.760 (0.756) | ||
95% CI (-9.145, -6.016) (-6.254, -3.267) | ||
Difference in Adjusted Means (SE) 2.820 (1.085) | ||
95% CI (0.676, 4.964) | ||
Relative Reduction (%) -37.2% | ||
p-value (RBMI) 0.0103 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters