DKplsRcoxmodel.default: no visible global function definition for
  'weighted.mean'
DKplsRcoxmodel.default: no visible binding for global variable
  'weighted.mean'
DKplsRcoxmodel.default: no visible global function definition for
  'as.formula'
DKplsRcoxmodel.default: no visible global function definition for
  'head'
DKplsRcoxmodel.formula: no visible global function definition for
  'model.response'
DKplsRcoxmodel.formula: no visible global function definition for
  'is.empty.model'
DKplsRcoxmodel.formula: no visible global function definition for
  'model.matrix'
DKplsRcoxmodel.formula: no visible binding for global variable
  'contrasts'
DKplsRcoxmodel.formula: no visible global function definition for
  'model.weights'
coxDKpls2DR.default: no visible global function definition for 'head'
coxDKpls2DR.default: no visible global function definition for
  'as.formula'
coxDKpls2DR.formula: no visible global function definition for
  'model.response'
coxDKpls2DR.formula: no visible global function definition for
  'is.empty.model'
coxDKpls2DR.formula: no visible global function definition for
  'model.matrix'
coxDKpls2DR.formula: no visible binding for global variable 'contrasts'
coxDKpls2DR.formula: no visible global function definition for
  'model.weights'
coxDKplsDR.default: no visible global function definition for 'head'
coxDKplsDR.default: no visible global function definition for
  'as.formula'
coxDKplsDR.formula: no visible global function definition for
  'model.response'
coxDKplsDR.formula: no visible global function definition for
  'is.empty.model'
coxDKplsDR.formula: no visible global function definition for
  'model.matrix'
coxDKplsDR.formula: no visible binding for global variable 'contrasts'
coxDKplsDR.formula: no visible global function definition for
  'model.weights'
coxDKsplsDR.default: no visible global function definition for 'head'
coxDKsplsDR.default: no visible global function definition for
  'as.formula'
coxDKsplsDR.formula: no visible global function definition for
  'model.response'
coxDKsplsDR.formula: no visible global function definition for
  'is.empty.model'
coxDKsplsDR.formula: no visible global function definition for
  'model.matrix'
coxDKsplsDR.formula: no visible binding for global variable 'contrasts'
coxDKsplsDR.formula: no visible global function definition for
  'model.weights'
coxpls.default: no visible global function definition for 'head'
coxpls.default: no visible global function definition for 'as.formula'
coxpls.formula: no visible global function definition for
  'model.response'
coxpls.formula: no visible global function definition for
  'is.empty.model'
coxpls.formula: no visible global function definition for
  'model.matrix'
coxpls.formula: no visible binding for global variable 'contrasts'
coxpls.formula: no visible global function definition for
  'model.weights'
coxpls2.default: no visible global function definition for 'as.formula'
coxpls2.default: no visible global function definition for 'head'
coxpls2.formula: no visible global function definition for
  'model.response'
coxpls2.formula: no visible global function definition for
  'is.empty.model'
coxpls2.formula: no visible global function definition for
  'model.matrix'
coxpls2.formula: no visible binding for global variable 'contrasts'
coxpls2.formula: no visible global function definition for
  'model.weights'
coxpls2DR.default: no visible global function definition for 'head'
coxpls2DR.default: no visible global function definition for
  'as.formula'
coxpls2DR.formula: no visible global function definition for
  'model.response'
coxpls2DR.formula: no visible global function definition for
  'is.empty.model'
coxpls2DR.formula: no visible global function definition for
  'model.matrix'
coxpls2DR.formula: no visible binding for global variable 'contrasts'
coxpls2DR.formula: no visible global function definition for
  'model.weights'
coxpls3.default: no visible global function definition for 'head'
coxpls3.default: no visible global function definition for 'as.formula'
coxpls3.formula: no visible global function definition for
  'model.response'
coxpls3.formula: no visible global function definition for
  'is.empty.model'
coxpls3.formula: no visible global function definition for
  'model.matrix'
coxpls3.formula: no visible binding for global variable 'contrasts'
coxpls3.formula: no visible global function definition for
  'model.weights'
coxpls3DR.default: no visible global function definition for 'head'
coxpls3DR.default: no visible global function definition for
  'as.formula'
coxpls3DR.formula: no visible global function definition for
  'model.response'
coxpls3DR.formula: no visible global function definition for
  'is.empty.model'
coxpls3DR.formula: no visible global function definition for
  'model.matrix'
coxpls3DR.formula: no visible binding for global variable 'contrasts'
coxpls3DR.formula: no visible global function definition for
  'model.weights'
coxplsDR.default: no visible global function definition for 'head'
coxplsDR.default: no visible global function definition for
  'as.formula'
coxplsDR.formula: no visible global function definition for
  'model.response'
coxplsDR.formula: no visible global function definition for
  'is.empty.model'
coxplsDR.formula: no visible global function definition for
  'model.matrix'
coxplsDR.formula: no visible binding for global variable 'contrasts'
coxplsDR.formula: no visible global function definition for
  'model.weights'
coxsplsDR.default: no visible global function definition for 'head'
coxsplsDR.default: no visible global function definition for
  'as.formula'
coxsplsDR.formula: no visible global function definition for
  'model.response'
coxsplsDR.formula: no visible global function definition for
  'is.empty.model'
coxsplsDR.formula: no visible global function definition for
  'model.matrix'
coxsplsDR.formula: no visible binding for global variable 'contrasts'
coxsplsDR.formula: no visible global function definition for
  'model.weights'
cv.autoplsRcox: no visible binding for global variable 'var'
cv.autoplsRcox: no visible global function definition for 'dev.new'
cv.autoplsRcox: no visible global function definition for 'layout'
cv.autoplsRcox: no visible global function definition for 'abline'
cv.autoplsRcox: no visible global function definition for 'axis'
cv.autoplsRcox: no visible global function definition for 'segments'
cv.coxDKplsDR: no visible binding for global variable 'var'
cv.coxDKplsDR: no visible global function definition for 'dev.new'
cv.coxDKplsDR: no visible global function definition for 'layout'
cv.coxDKplsDR: no visible global function definition for 'abline'
cv.coxDKplsDR: no visible global function definition for 'axis'
cv.coxDKplsDR: no visible global function definition for 'segments'
cv.coxDKsplsDR: no visible binding for global variable 'var'
cv.coxDKsplsDR: no visible global function definition for 'dev.new'
cv.coxDKsplsDR: no visible global function definition for 'layout'
cv.coxDKsplsDR: no visible global function definition for 'abline'
cv.coxDKsplsDR: no visible global function definition for 'axis'
cv.coxDKsplsDR: no visible global function definition for 'segments'
cv.coxpls: no visible binding for global variable 'var'
cv.coxpls: no visible global function definition for 'dev.new'
cv.coxpls: no visible global function definition for 'layout'
cv.coxpls: no visible global function definition for 'abline'
cv.coxpls: no visible global function definition for 'axis'
cv.coxpls: no visible global function definition for 'segments'
cv.coxplsDR: no visible binding for global variable 'var'
cv.coxplsDR: no visible global function definition for 'dev.new'
cv.coxplsDR: no visible global function definition for 'layout'
cv.coxplsDR: no visible global function definition for 'abline'
cv.coxplsDR: no visible global function definition for 'axis'
cv.coxplsDR: no visible global function definition for 'segments'
cv.coxsplsDR: no visible binding for global variable 'var'
cv.coxsplsDR: no visible global function definition for 'dev.new'
cv.coxsplsDR: no visible global function definition for 'layout'
cv.coxsplsDR: no visible global function definition for 'abline'
cv.coxsplsDR: no visible global function definition for 'axis'
cv.coxsplsDR: no visible global function definition for 'segments'
cv.larsDR: no visible global function definition for 'residuals'
cv.larsDR: no visible binding for global variable 'var'
cv.larsDR: no visible global function definition for 'dev.new'
cv.larsDR: no visible global function definition for 'layout'
cv.larsDR: no visible global function definition for 'abline'
cv.larsDR: no visible global function definition for 'axis'
cv.larsDR: no visible global function definition for 'segments'
cv.plsRcox: no visible binding for global variable 'var'
cv.plsRcox: no visible global function definition for 'dev.new'
cv.plsRcox: no visible global function definition for 'layout'
cv.plsRcox: no visible global function definition for 'abline'
cv.plsRcox: no visible global function definition for 'axis'
cv.plsRcox: no visible global function definition for 'segments'
getIndic: no visible global function definition for 'var'
getIndic: no visible global function definition for 'layout'
getIndic: no visible global function definition for 'abline'
getIndic: no visible global function definition for 'complete.cases'
getIndicCV: no visible global function definition for 'layout'
getIndicCV: no visible global function definition for 'abline'
getIndicCV: no visible global function definition for 'complete.cases'
getIndicCViAUCSH: no visible global function definition for 'abline'
getIndicCViAUCSurvROCTest: no visible global function definition for
  'complete.cases'
getIndicCViAUCSurvROCTest: no visible global function definition for
  'abline'
larsDR_coxph.default: no visible global function definition for 'head'
larsDR_coxph.default: no visible global function definition for
  'as.formula'
larsDR_coxph.formula: no visible global function definition for
  'model.response'
larsDR_coxph.formula: no visible global function definition for
  'is.empty.model'
larsDR_coxph.formula: no visible global function definition for
  'model.matrix'
larsDR_coxph.formula: no visible binding for global variable
  'contrasts'
larsDR_coxph.formula: no visible global function definition for
  'model.weights'
plsRcoxmodel.default: no visible global function definition for
  'weighted.mean'
plsRcoxmodel.default: no visible binding for global variable
  'weighted.mean'
plsRcoxmodel.default: no visible global function definition for 'head'
plsRcoxmodel.default: no visible global function definition for
  'as.formula'
plsRcoxmodel.default: no visible global function definition for
  'extractAIC'
plsRcoxmodel.default: no visible global function definition for
  'residuals'
plsRcoxmodel.formula: no visible global function definition for
  'model.response'
plsRcoxmodel.formula: no visible global function definition for
  'is.empty.model'
plsRcoxmodel.formula: no visible global function definition for
  'model.matrix'
plsRcoxmodel.formula: no visible binding for global variable
  'contrasts'
plsRcoxmodel.formula: no visible global function definition for
  'model.weights'
predict.plsRcoxmodel: no visible global function definition for
  'is.empty.model'
predict.plsRcoxmodel: no visible global function definition for
  'model.matrix'
predict.plsRcoxmodel: no visible binding for global variable
  'contrasts'
predict.plsRcoxmodel: no visible global function definition for
  'model.weights'
spls.dv: no visible global function definition for 'median'
spls.dv: no visible global function definition for 'uniroot'
Undefined global functions or variables:
  abline as.formula axis complete.cases contrasts dev.new extractAIC
  head is.empty.model layout median model.matrix model.response
  model.weights residuals segments uniroot var weighted.mean
Consider adding
  importFrom("grDevices", "dev.new")
  importFrom("graphics", "abline", "axis", "layout", "segments")
  importFrom("stats", "as.formula", "complete.cases", "contrasts",
             "extractAIC", "is.empty.model", "median", "model.matrix",
             "model.response", "model.weights", "residuals", "uniroot",
             "var", "weighted.mean")
  importFrom("utils", "head")
to your NAMESPACE file.