AIC.maxlikeFit: no visible global function definition for 'coef'
chisq.maxlikeFit: no visible global function definition for 'predict'
chisq.maxlikeFit: no visible global function definition for 'aggregate'
chisq.maxlikeFit: no visible global function definition for 'cellStats'
chisq.maxlikeFit: no visible global function definition for 'ncell'
chisq.maxlikeFit: no visible global function definition for
  'cellFromXY'
chisq.maxlikeFit: no visible global function definition for 'values'
chisq.maxlikeFit: no visible global function definition for 'values<-'
chisq.maxlikeFit: no visible global function definition for 'stack'
chisq.maxlikeFit: no visible global function definition for
  'chisq.test'
maxlike: no visible global function definition for 'cellFromXY'
maxlike: no visible global function definition for 'extract'
maxlike: no visible global function definition for 'getValues'
maxlike: no visible global function definition for 'model.frame'
maxlike: no visible global function definition for 'model.matrix'
maxlike : nll: no visible global function definition for 'plogis'
maxlike: no visible global function definition for 'optim'
maxlike: no visible global function definition for 'plogis'
predict.maxlikeFit: no visible global function definition for 'coef'
predict.maxlikeFit: no visible global function definition for
  'getValues'
predict.maxlikeFit: no visible global function definition for
  'model.frame'
predict.maxlikeFit: no visible global function definition for
  'model.matrix'
predict.maxlikeFit: no visible global function definition for 'plogis'
predict.maxlikeFit: no visible global function definition for 'raster'
predict.maxlikeFit: no visible global function definition for
  'extent<-'
predict.maxlikeFit: no visible global function definition for 'extent'
summary.maxlikeFit: no visible global function definition for 'pnorm'
Undefined global functions or variables:
  aggregate cellFromXY cellStats chisq.test coef extent extent<-
  extract getValues model.frame model.matrix ncell optim plogis pnorm
  predict raster stack values values<-
Consider adding
  importFrom("stats", "aggregate", "chisq.test", "coef", "model.frame",
             "model.matrix", "optim", "plogis", "pnorm", "predict")
  importFrom("utils", "stack")
to your NAMESPACE file.