From a0d106145403932796fb75a7d40e976c698b0484 Mon Sep 17 00:00:00 2001 From: Ben Stevenson Date: Mon, 6 Jun 2016 14:31:20 +0100 Subject: [PATCH] Small bug fix for new R version. --- R/test.r | 1 + 1 file changed, 1 insertion(+) diff --git a/R/test.r b/R/test.r index 8f3f357..4ccf49d 100644 --- a/R/test.r +++ b/R/test.r @@ -16,6 +16,7 @@ test.admbsecr <- function(quick = FALSE){ dir <- ifelse(quick, "quick", "full") if (quick){ + example <- admbsecr::example simple.capt <- example$capt["bincapt"] fit <- try(admbsecr(capt = simple.capt, traps = example$traps, mask = example$mask, fix = list(g0 = 1)),