.likTerms : <anonymous>: no visible global function definition for
  'coef'
.likTerms : <anonymous>: no visible global function definition for
  'lm.wfit'
.profLik: no visible global function definition for 'optimize'
.profLik: no visible global function definition for 'coef'
.profLik: no visible global function definition for 'lm.wfit'
.profLik: no visible global function definition for 'smooth.spline'
metaLik: no visible global function definition for 'model.response'
metaLik: no visible global function definition for 'model.extract'
metaLik: no visible global function definition for 'is.empty.model'
metaLik: no visible global function definition for 'model.matrix'
metaLik: no visible global function definition for 'model.offset'
metaLik: no visible global function definition for 'optimize'
metaLik: no visible global function definition for 'coef'
metaLik: no visible global function definition for 'lm.wfit'
metaLik: no visible global function definition for 'lm'
metaLik: no visible global function definition for '.getXlevels'
model.matrix.metaLik: no visible global function definition for
  'model.matrix'
model.matrix.metaLik: no visible global function definition for
  'model.frame'
print.metaLik: no visible global function definition for 'coef'
print.metaLik: no visible global function definition for 'vcov'
simulate.metaLik: no visible global function definition for 'runif'
simulate.metaLik: no visible global function definition for 'fitted'
simulate.metaLik: no visible global function definition for 'rnorm'
summary.metaLik: no visible global function definition for 'coef'
summary.metaLik: no visible global function definition for 'vcov'
test.metaLik: no visible global function definition for 'coef'
test.metaLik: no visible global function definition for 'predict'
test.metaLik: no visible global function definition for 'pnorm'
Undefined global functions or variables:
  .getXlevels coef fitted is.empty.model lm lm.wfit model.extract
  model.frame model.matrix model.offset model.response optimize pnorm
  predict rnorm runif smooth.spline vcov
Consider adding
  importFrom("stats", ".getXlevels", "coef", "fitted", "is.empty.model",
             "lm", "lm.wfit", "model.extract", "model.frame",
             "model.matrix", "model.offset", "model.response",
             "optimize", "pnorm", "predict", "rnorm", "runif",
             "smooth.spline", "vcov")
to your NAMESPACE file.