[,MSM.fitted-character-missing-missing: warning in switch(EXP = i,
  CondMean = return(x@CondMean), error = return(x@error), Likel =
  return(x@Likel), margLik = return(x@margLik), filtProb =
  return(x@filtProb), smoProb = return(x@smoProb), states =
  return(apply(x@smoProb, 1, which.max)), smoTransMat =
  return(x@smoTransMat), logLikel = return(x@logLikel), stop("Error:",
  i, "is not a MSM.fitted slot")): partial argument match of 'EXP' to
  'EXPR'
[,MSM.glm-character-missing-missing: warning in switch(EXP = i, call =
  return(x@call), model = return(x@model), k = return(x@k), switch =
  return(x@switch), Coef = return(x@Coef), seCoef = return(x@seCoef),
  transMat = return(x@transMat), iniProb = return(x@iniProb), Fit =
  return(x@Fit), states = return(x@Fit["states"]), family =
  return(x@family), stop("Error:", i, "is not a MSM slot")): partial
  argument match of 'EXP' to 'EXPR'
[,MSM.lm-character-missing-missing: warning in switch(EXP = i, call =
  return(x@call), model = return(x@model), k = return(x@k), switch =
  return(x@switch), Coef = return(x@Coef), seCoef = return(x@seCoef),
  std = return(x@std), transMat = return(x@transMat), iniProb =
  return(x@iniProb), Fit = return(x@Fit), states =
  return(x@Fit["states"]), stop("Error:", i, "is not a MSM slot")):
  partial argument match of 'EXP' to 'EXPR'
.MSM.em: no visible global function definition for 'model.matrix'
.MSM.em : paralel : <anonymous>: no visible global function definition
  for 'runif'
.MSM.em : paralel: no visible global function definition for 'runif'
.MSM.formula.msmFit: no visible global function definition for 'lm'
.MSM.formula.msmFit: no visible global function definition for 'glm'
.MSM.glm.maximEM: no visible global function definition for 'glm'
.MSM.glm.maximEM: no visible global function definition for 'coef'
.MSM.glm.msmFilter: no visible global function definition for
  'model.matrix'
.MSM.glm.msmFit: no visible global function definition for 'update'
.MSM.glm.msmFit: no visible global function definition for 'as.formula'
.MSM.glm.msmFit: no visible global function definition for 'coef'
.MSM.glm.msmFit: no visible global function definition for 'quantile'
.MSM.glm.msmFit : <anonymous>: no visible global function definition
  for 'dpois'
.MSM.glm.msmFit : <anonymous>: no visible global function definition
  for 'dbinom'
.MSM.glm.msmFit : <anonymous>: no visible global function definition
  for 'dnorm'
.MSM.glm.msmFit : <anonymous>: no visible global function definition
  for 'dgamma'
.MSM.glm.summary : <anonymous>: no visible global function definition
  for 'pnorm'
.MSM.glm.summary: no visible global function definition for
  'printCoefmat'
.MSM.larg.plotDiag : <anonymous>: no visible global function definition
  for 'ts.plot'
.MSM.larg.plotDiag : <anonymous>: no visible global function definition
  for 'sd'
.MSM.larg.plotDiag : <anonymous>: no visible global function definition
  for 'qqnorm'
.MSM.larg.plotDiag : <anonymous>: no visible global function definition
  for 'qqline'
.MSM.larg.plotDiag : <anonymous>: no visible global function definition
  for 'acf'
.MSM.larg.plotDiag : <anonymous>: no visible global function definition
  for 'pacf'
.MSM.larg.plotReg : <anonymous> : <anonymous>: no visible global
  function definition for 'ts'
.MSM.lm.hessian: no visible global function definition for 'tail'
.MSM.lm.maximEM: no visible global function definition for 'lm'
.MSM.lm.maximEM: no visible global function definition for 'coef'
.MSM.lm.maximEM: no visible global function definition for 'tail'
.MSM.lm.maximEM: no visible global function definition for 'resid'
.MSM.lm.maximEM: no visible global function definition for
  'weighted.residuals'
.MSM.lm.msmFilter: no visible global function definition for
  'model.matrix'
.MSM.lm.msmFilter: no visible global function definition for 'dnorm'
.MSM.lm.msmFit: no visible global function definition for 'update'
.MSM.lm.msmFit: no visible global function definition for 'as.formula'
.MSM.lm.msmFit: no visible global function definition for 'coef'
.MSM.lm.summary : <anonymous>: no visible global function definition
  for 'pnorm'
.MSM.lm.summary: no visible global function definition for
  'printCoefmat'
.MSM.lm.summary: no visible global function definition for 'quantile'
.MSM.plot: no visible global function definition for 'ts.plot'
.MSM.plotProb : <anonymous>: no visible global function definition for
  'ts'
.MSM.sma.plotReg : <anonymous> : <anonymous>: no visible global
  function definition for 'ts'
fopt.lm: no visible global function definition for 'tail'
intervals.MSM.glm: no visible global function definition for 'qnorm'
intervals.MSM.lm: no visible global function definition for 'qnorm'
em,MSM.linear-list: no visible global function definition for
  'model.matrix'
em,MSM.linear-list : paralel : <anonymous>: no visible global function
  definition for 'runif'
em,MSM.linear-list : paralel: no visible global function definition for
  'runif'
hessian,MSM.lm: no visible global function definition for 'tail'
maximEM,MSM.glm-data.frame: no visible global function definition for
  'glm'
maximEM,MSM.glm-data.frame: no visible global function definition for
  'coef'
maximEM,MSM.lm-data.frame: no visible global function definition for
  'lm'
maximEM,MSM.lm-data.frame: no visible global function definition for
  'coef'
maximEM,MSM.lm-data.frame: no visible global function definition for
  'tail'
maximEM,MSM.lm-data.frame: no visible global function definition for
  'resid'
maximEM,MSM.lm-data.frame: no visible global function definition for
  'weighted.residuals'
msmFilter,MSM.glm: no visible global function definition for
  'model.matrix'
msmFilter,MSM.lm: no visible global function definition for
  'model.matrix'
msmFilter,MSM.lm: no visible global function definition for 'dnorm'
msmFit,formula-numeric-logical-ANY-data.frame-ANY: no visible global
  function definition for 'lm'
msmFit,formula-numeric-logical-ANY-data.frame-ANY: no visible global
  function definition for 'glm'
msmFit,glm-numeric-logical-ANY-missing-ANY: no visible global function
  definition for 'update'
msmFit,glm-numeric-logical-ANY-missing-ANY: no visible global function
  definition for 'as.formula'
msmFit,glm-numeric-logical-ANY-missing-ANY: no visible global function
  definition for 'coef'
msmFit,glm-numeric-logical-ANY-missing-ANY: no visible global function
  definition for 'quantile'
msmFit,glm-numeric-logical-ANY-missing-ANY : <anonymous>: no visible
  global function definition for 'dpois'
msmFit,glm-numeric-logical-ANY-missing-ANY : <anonymous>: no visible
  global function definition for 'dbinom'
msmFit,glm-numeric-logical-ANY-missing-ANY : <anonymous>: no visible
  global function definition for 'dnorm'
msmFit,glm-numeric-logical-ANY-missing-ANY : <anonymous>: no visible
  global function definition for 'dgamma'
msmFit,lm-numeric-logical-ANY-missing-missing: no visible global
  function definition for 'update'
msmFit,lm-numeric-logical-ANY-missing-missing: no visible global
  function definition for 'as.formula'
msmFit,lm-numeric-logical-ANY-missing-missing: no visible global
  function definition for 'coef'
plot,MSM.linear-missing: no visible global function definition for
  'ts.plot'
plotDiag,MSM.linear-ANY : <anonymous>: no visible global function
  definition for 'ts.plot'
plotDiag,MSM.linear-ANY : <anonymous>: no visible global function
  definition for 'sd'
plotDiag,MSM.linear-ANY : <anonymous>: no visible global function
  definition for 'qqnorm'
plotDiag,MSM.linear-ANY : <anonymous>: no visible global function
  definition for 'qqline'
plotDiag,MSM.linear-ANY : <anonymous>: no visible global function
  definition for 'acf'
plotDiag,MSM.linear-ANY : <anonymous>: no visible global function
  definition for 'pacf'
plotDiag,MSM.linear-missing: no visible global function definition for
  'ts.plot'
plotDiag,MSM.linear-missing: no visible global function definition for
  'sd'
plotDiag,MSM.linear-missing: no visible global function definition for
  'qqnorm'
plotDiag,MSM.linear-missing: no visible global function definition for
  'qqline'
plotDiag,MSM.linear-missing: no visible global function definition for
  'acf'
plotDiag,MSM.linear-missing: no visible global function definition for
  'pacf'
plotProb,MSM.linear : <anonymous>: no visible global function
  definition for 'ts'
plotReg,MSM.linear-character : <anonymous> : <anonymous>: no visible
  global function definition for 'ts'
plotReg,MSM.linear-missing : <anonymous> : <anonymous>: no visible
  global function definition for 'ts'
summary,MSM.glm : <anonymous>: no visible global function definition
  for 'pnorm'
summary,MSM.glm: no visible global function definition for
  'printCoefmat'
summary,MSM.lm : <anonymous>: no visible global function definition for
  'pnorm'
summary,MSM.lm: no visible global function definition for
  'printCoefmat'
summary,MSM.lm: no visible global function definition for 'quantile'
Undefined global functions or variables:
  acf as.formula coef dbinom dgamma dnorm dpois glm lm model.matrix
  pacf pnorm printCoefmat qnorm qqline qqnorm quantile resid runif sd
  tail ts ts.plot update weighted.residuals
Consider adding
  importFrom("stats", "acf", "as.formula", "coef", "dbinom", "dgamma",
             "dnorm", "dpois", "glm", "lm", "model.matrix", "pacf",
             "pnorm", "printCoefmat", "qnorm", "qqline", "qqnorm",
             "quantile", "resid", "runif", "sd", "ts", "ts.plot",
             "update", "weighted.residuals")
  importFrom("utils", "tail")
to your NAMESPACE file.