-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from poissonconsulting/b-conditional-suggests
Skip tests if suggested packages aren't installed, remove dependency on aods3 package.
- Loading branch information
Showing
6 changed files
with
43 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ Imports: | |
lifecycle, | ||
stats | ||
Suggests: | ||
aods3, | ||
covr, | ||
hms, | ||
ggplot2, | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,16 @@ New maintainer: | |
Nicole Hill <[email protected]> | ||
Old maintainer(s): | ||
Joe Thorley <[email protected]> | ||
|
||
## CRAN Issues | ||
|
||
Fixed the following error by conditionally skipping tests that rely on packages listed in suggests, if those packages are not installed. | ||
After review, also decided to remove the dependency to the 'aods3' package. | ||
|
||
══ Failed tests ════════════════════════════════════════════════════════════════ | ||
── Error ('test-log-lik.R:184:3'): beta_binom log_lik ────────────────────────── | ||
<packageNotFoundError/error/condition> | ||
Error in `loadNamespace(x)`: there is no package called 'aods3' | ||
|
||
## revdepcheck results | ||
|
||
|
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,21 @@ | ||
# beta_binom log_lik | ||
|
||
Code | ||
log_lik_beta_binom(x = samples, size = 50, prob = 0.2, theta = 1.1) | ||
Output | ||
[1] -4.976366 -2.395701 -1.375050 -3.917547 -1.375050 -4.314925 -4.409988 | ||
[8] -3.218659 -4.045703 -1.375050 -4.409988 -1.375050 -3.685783 -1.375050 | ||
[15] -1.375050 -2.395701 -1.375050 -1.375050 -4.845012 -1.375050 -2.395701 | ||
[22] -4.631547 -2.787926 -1.375050 -1.375050 -1.375050 -3.983622 -3.769878 | ||
[29] -1.375050 -1.375050 -1.375050 -3.769878 -3.035763 -3.769878 -3.364624 | ||
[36] -3.486792 -5.021646 -1.375050 -2.395701 -1.375050 -1.375050 -1.375050 | ||
[43] -3.218659 -1.375050 -3.592380 -4.045703 -1.375050 -1.375050 -1.375050 | ||
[50] -2.787926 -5.269883 -4.976366 -2.395701 -1.375050 -5.326411 -1.375050 | ||
[57] -1.375050 -4.716959 -1.375050 -3.218659 -1.375050 -3.685783 -5.521217 | ||
[64] -1.375050 -1.375050 -1.375050 -3.486792 -3.364624 -1.375050 -2.395701 | ||
[71] -1.375050 -4.265252 -1.375050 -2.395701 -1.375050 -2.395701 -3.592380 | ||
[78] -3.486792 -1.375050 -3.769878 -2.395701 -4.045703 -1.375050 -3.035763 | ||
[85] -2.395701 -3.218659 -1.375050 -2.787926 -1.375050 -3.035763 -1.375050 | ||
[92] -1.375050 -1.375050 -1.375050 -4.265252 -1.375050 -2.395701 -3.364624 | ||
[99] -3.035763 -1.375050 | ||
|
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
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