Predict0.idmPl : <anonymous>: no visible global function definition for
  ‘integrate’
Predict0.idmWeib : <anonymous>: no visible global function definition
  for ‘integrate’
S.weib: no visible global function definition for ‘pweibull’
idm: no visible binding for global variable ‘na.fail’
idm: no visible global function definition for ‘model.response’
idm: no visible global function definition for ‘model.matrix’
idm: no visible global function definition for ‘quantile’
lifexpect0: no visible global function definition for ‘integrate’
lifexpect0.idmWeib: no visible global function definition for
  ‘integrate’
lifexpect0.idmWeib : <anonymous> : <anonymous>: no visible global
  function definition for ‘integrate’
plot.idm : <anonymous>: no visible global function definition for
  ‘segments’
plot.idm : <anonymous>: no visible global function definition for
  ‘col2rgb’
plot.idm : <anonymous>: no visible global function definition for
  ‘polygon’
plot.idm : <anonymous>: no visible global function definition for
  ‘lines’
plot.idm: no visible global function definition for ‘par’
plot.shr : <anonymous>: no visible global function definition for
  ‘lines’
plot.shr: no visible global function definition for ‘col2rgb’
plot.shr : <anonymous>: no visible global function definition for
  ‘rect’
plot.shr: no visible global function definition for ‘lines’
print.idm: no visible global function definition for ‘qnorm’
print.idm: no visible global function definition for ‘pchisq’
print.shr: no visible global function definition for ‘qnorm’
print.shr: no visible global function definition for ‘pchisq’
shr: no visible binding for global variable ‘na.omit’
shr: no visible global function definition for ‘flush.console’
shr: no visible global function definition for ‘model.response’
shr: no visible global function definition for ‘model.matrix’
sim.idmModel : <anonymous>: no visible global function definition for
  ‘rbinom’
summary.idm: no visible global function definition for ‘qnorm’
summary.idm: no visible global function definition for ‘pchisq’
summary.shr: no visible global function definition for ‘qnorm’
summary.shr: no visible global function definition for ‘pchisq’
Undefined global functions or variables:
  col2rgb flush.console integrate lines model.matrix model.response
  na.fail na.omit par pchisq polygon pweibull qnorm quantile rbinom
  rect segments
Consider adding
  importFrom("grDevices", "col2rgb")
  importFrom("graphics", "lines", "par", "polygon", "rect", "segments")
  importFrom("stats", "integrate", "model.matrix", "model.response",
             "na.fail", "na.omit", "pchisq", "pweibull", "qnorm",
             "quantile", "rbinom")
  importFrom("utils", "flush.console")
to your NAMESPACE file.