correctfun: no visible global function definition for ‘optimize’
getlambdamax : <anonymous>: no visible global function definition for
  ‘weighted.mean’
getlambdamax: no visible global function definition for ‘runif’
modelmatrix.MRSP: no visible global function definition for
  ‘model.frame’
modelmatrix.MRSP: no visible global function definition for
  ‘model.matrix’
modelmatrix.MRSP: no visible global function definition for ‘terms’
Brier,matrix: no visible global function definition for ‘weighted.mean’
MRSP.fit,ANY-ANY-ANY-ANY-ANY-ANY-ANY-ANY-numeric : <anonymous>: no
  visible global function definition for ‘weighted.mean’
MRSP.fit,ANY-ANY-ANY-ANY-ANY-ANY-ANY-ANY-numeric: no visible global
  function definition for ‘runif’
MRSP.fit,ANY-ANY-ANY-ANY-ANY-ANY-ANY-ANY-numeric: no visible global
  function definition for ‘weighted.mean’
MRSP,ANY: no visible global function definition for ‘as.formula’
MRSP,ANY : <anonymous>: no visible global function definition for
  ‘weighted.mean’
createResponse,MRSP.coef: no visible global function definition for
  ‘rmultinom’
cv,MRSP.list: no visible binding for global variable ‘sd’
plot,MRSP.list: no visible global function definition for ‘rainbow’
plot,MRSP.list: no visible global function definition for
  ‘smooth.spline’
plot,MRSP.list: no visible global function definition for ‘matplot’
plot,MRSP.list: no visible global function definition for ‘legend’
plot,MRSP.list: no visible global function definition for ‘abline’
pval,MRSP : <anonymous> : <anonymous>: no visible global function
  definition for ‘pt’
se,MRSP: no visible global function definition for ‘sd’
Undefined global functions or variables:
  abline as.formula legend matplot model.frame model.matrix optimize pt
  rainbow rmultinom runif sd smooth.spline terms weighted.mean
Consider adding
  importFrom("grDevices", "rainbow")
  importFrom("graphics", "abline", "legend", "matplot")
  importFrom("stats", "as.formula", "model.frame", "model.matrix",
             "optimize", "pt", "rmultinom", "runif", "sd",
             "smooth.spline", "terms", "weighted.mean")
to your NAMESPACE file.