MSEP.lsplsCv: no visible global function definition for
  'model.response'
MSEP.lsplsCv: no visible global function definition for 'model.frame'
MSEP.lsplsCv: no visible global function definition for 'sd'
R2.lsplsCv: no visible global function definition for 'model.response'
R2.lsplsCv: no visible global function definition for 'model.frame'
R2.lsplsCv: no visible binding for global variable 'var'
loadingplot.lspls: no visible global function definition for 'par'
loadingplot.lspls: no visible global function definition for 'n2mfrow'
lspls: no visible global function definition for 'terms'
lspls: no visible global function definition for 'model.response'
lsplsCv: no visible global function definition for 'terms'
lsplsCv: no visible global function definition for 'model.response'
lsplsCv: no visible global function definition for 'cvsegments'
lsplsCv: no visible global function definition for 'delete.response'
orthlspls.fit: no visible binding for global variable 'oscorespls.fit'
orthlspls.fit: no visible global function definition for 'lm.fit'
orthlsplsCv : cvPredRest: no visible global function definition for
  'Quote'
orthlsplsCv : cvPredRest: no visible global function definition for
  'lm.fit'
orthlsplsCv: no visible global function definition for 'Quote'
orthlsplsCv: no visible binding for global variable 'oscorespls.fit'
orthlsplsCv: no visible global function definition for 'lm.fit'
plot.lsplsCv: no visible global function definition for 'par'
plot.lsplsCv: no visible global function definition for 'n2mfrow'
plot.lsplsCv: no visible global function definition for 'text'
plot.lsplsCv: no visible global function definition for 'lines'
plot.lsplsCv: no visible global function definition for 'terms'
plot.lsplsCv: no visible global function definition for 'axis'
plot.lsplsCv: no visible global function definition for 'mtext'
predict.lspls: no visible binding for global variable 'na.pass'
predict.lspls: no visible global function definition for
  'delete.response'
predict.lspls: no visible global function definition for 'terms'
predict.lspls: no visible global function definition for 'model.frame'
predict.lspls: no visible global function definition for
  '.checkMFClasses'
scoreplot.lspls: no visible global function definition for 'par'
Undefined global functions or variables:
  .checkMFClasses Quote axis cvsegments delete.response lines lm.fit
  model.frame model.response mtext n2mfrow na.pass oscorespls.fit par
  sd terms text var
Consider adding
  importFrom("grDevices", "n2mfrow")
  importFrom("graphics", "axis", "lines", "mtext", "par", "text")
  importFrom("methods", "Quote")
  importFrom("stats", ".checkMFClasses", "delete.response", "lm.fit",
             "model.frame", "model.response", "na.pass", "sd", "terms",
             "var")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').