diff --git a/DESCRIPTION b/DESCRIPTION index 9772e14a0..43d812d64 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -66,6 +66,7 @@ Imports: assertthat, clisymbols, cli, + fmesher, fishMod, generics, glmmTMB, diff --git a/NAMESPACE b/NAMESPACE index a0d20d611..255214afd 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -107,6 +107,7 @@ importFrom(stats,coef) importFrom(stats,confint) importFrom(stats,df.residual) importFrom(stats,family) +importFrom(stats,findbars) importFrom(stats,formula) importFrom(stats,gaussian) importFrom(stats,logLik) @@ -120,7 +121,10 @@ importFrom(stats,plogis) importFrom(stats,poisson) importFrom(stats,predict) importFrom(stats,runif) +importFrom(stats,setNames) importFrom(stats,simulate) importFrom(stats,terms) +importFrom(stats,update) importFrom(stats,vcov) +importFrom(utils,head) useDynLib(sdmTMB, .registration = TRUE) diff --git a/R/reformulas.R b/R/reformulas.R index 2f7a10f5b..864188cee 100644 --- a/R/reformulas.R +++ b/R/reformulas.R @@ -502,6 +502,8 @@ dropHead <- function(term,value) { ## drop.special(x~a + b+ offset(z)) ## @export ## @keywords internal +#' @importFrom stats update setNames findbars +#' @importFrom utils head drop.special <- function(x, value=quote(offset), preserve = NULL) { k <- 0 proc <- function(x) {