Skip to content

Commit

Permalink
Revert setting optional arguments to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Jan 16, 2024
1 parent 2306785 commit 1a2bb1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/stat_likelihoods.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pois_size_ll <- function(x, lambda) {
#' @return log-likelihood values
#' @author Sebastian Funk
#' @keywords internal
nbinom_size_ll <- function(x, size, prob = NULL, mu = NULL) {
nbinom_size_ll <- function(x, size, prob, mu) {
checkmate::assert_numeric(
x, lower = 0, any.missing = FALSE
)
Expand Down Expand Up @@ -65,7 +65,7 @@ nbinom_size_ll <- function(x, size, prob = NULL, mu = NULL) {
#' @return log-likelihood values
#' @author Sebastian Funk
#' @keywords internal
gborel_size_ll <- function(x, size, prob = NULL, mu = NULL) {
gborel_size_ll <- function(x, size, prob, mu) {
checkmate::assert_numeric(
x, lower = 0, any.missing = FALSE
)
Expand Down
2 changes: 1 addition & 1 deletion man/gborel_size_ll.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nbinom_size_ll.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a2bb1b

Please sign in to comment.