From b07d4e44aaad39ec6cdb73fc80b45551672b9587 Mon Sep 17 00:00:00 2001 From: jamesaazam Date: Thu, 23 May 2024 16:56:18 +0100 Subject: [PATCH] Remove unused arguments to assert function --- R/likelihood.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/likelihood.R b/R/likelihood.R index 358576ad..af8d1f51 100644 --- a/R/likelihood.R +++ b/R/likelihood.R @@ -158,7 +158,7 @@ if (is.finite(stat_threshold)) { stop("'nsim_obs' must be specified if 'obs_prob' is < 1") } else { checkmate::assert_integerish( - nsim_obs, lower = 1, finite = TRUE, na.ok = FALSE + nsim_obs, lower = 1 ) }