nested.coxph: no visible global function definition for ‘binomial’
nested.coxph: no visible global function definition for ‘glm.control’
nested.coxph: no visible global function definition for ‘terms’
nested.coxph: no visible global function definition for ‘as.formula’
nested.coxph: no visible global function definition for
  ‘complete.cases’
nested.coxph: no visible global function definition for ‘glm’
nested.coxph: no visible binding for global variable ‘na.fail’
nested.coxph: no visible global function definition for ‘predict’
nested.coxph: no visible binding for global variable ‘na.omit’
nested.coxph: no visible global function definition for ‘residuals’
nested.km: no visible global function definition for ‘binomial’
nested.km: no visible global function definition for ‘glm.control’
nested.km: no visible global function definition for ‘terms’
nested.km: no visible global function definition for ‘as.formula’
nested.km: no visible global function definition for ‘complete.cases’
nested.km: no visible global function definition for ‘glm’
nested.km: no visible binding for global variable ‘na.fail’
nested.km: no visible global function definition for ‘predict’
nested.km: no visible binding for global variable ‘na.omit’
nested.km: no visible global function definition for ‘qnorm’
nested.stdsurv: no visible global function definition for ‘binomial’
nested.stdsurv: no visible global function definition for ‘glm.control’
nested.stdsurv: no visible global function definition for ‘terms’
nested.stdsurv: no visible global function definition for ‘as.formula’
nested.stdsurv: no visible global function definition for
  ‘complete.cases’
nested.stdsurv: no visible global function definition for ‘glm’
nested.stdsurv: no visible binding for global variable ‘na.fail’
nested.stdsurv: no visible global function definition for ‘predict’
nested.stdsurv: no visible binding for global variable ‘na.omit’
nested.stdsurv: no visible global function definition for ‘residuals’
nested.stdsurv: no visible global function definition for
  ‘model.matrix’
nested.stdsurv: no visible global function definition for ‘pdf’
nested.stdsurv: no visible global function definition for ‘lines’
nested.stdsurv: no visible global function definition for ‘text’
nested.stdsurv: no visible global function definition for ‘dev.off’
Undefined global functions or variables:
  as.formula binomial complete.cases dev.off glm glm.control lines
  model.matrix na.fail na.omit pdf predict qnorm residuals terms text
Consider adding
  importFrom("grDevices", "dev.off", "pdf")
  importFrom("graphics", "lines", "text")
  importFrom("stats", "as.formula", "binomial", "complete.cases", "glm",
             "glm.control", "model.matrix", "na.fail", "na.omit",
             "predict", "qnorm", "residuals", "terms")
to your NAMESPACE file.