aboutsummaryrefslogtreecommitdiff
path: root/R/IDS.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/IDS.R')
-rw-r--r--R/IDS.R2
1 files changed, 2 insertions, 0 deletions
diff --git a/R/IDS.R b/R/IDS.R
index 38338b1..c0b1534 100644
--- a/R/IDS.R
+++ b/R/IDS.R
@@ -73,6 +73,8 @@ IDS <- function(lambdaformula = ~1,
formlist <- list(lam=lambdaformula, ds=form_hds, pc=form_pc, oc=form_oc,
phi=availformula)
+ check_no_support(formlist)
+
stopifnot(inherits(dataDS, "unmarkedFrameDS"))
stopifnot(inherits(dataPC, c("unmarkedFramePCount", "NULL")))
stopifnot(inherits(dataOC, c("unmarkedFrameOccu", "NULL")))