coef.cv.sparsenet: no visible global function definition for 'coef'
coef.sparsenet: no visible global function definition for 'predict'
cv.sparsenet: no visible global function definition for 'predict'
cv.sparsenet: no visible binding for global variable 'weighted.mean'
gendata: no visible global function definition for 'rnorm'
getcoef_list: no visible global function definition for 'new'
getcoef_list: no visible global function definition for 'drop0'
lambda0: no visible global function definition for 'weighted.mean'
plot.cv.sparsenet: no visible global function definition for 'par'
plot.cv.sparsenet: no visible global function definition for 'rainbow'
plot.cv.sparsenet: no visible global function definition for 'plot'
plot.cv.sparsenet: no visible global function definition for 'lines'
plot.cv.sparsenet: no visible global function definition for 'abline'
plot.cv.sparsenet: no visible global function definition for 'axis'
plot.sparsenet: no visible global function definition for 'par'
plot.sparsenet: no visible global function definition for 'cbind2'
plot.sparsenet: no visible global function definition for 'mtext'
predict.cv.sparsenet: no visible global function definition for
  'predict'
sparsepredict: no visible global function definition for 'rbind2'
sparsepredict: no visible global function definition for
  'lambda.interp'
sparsepredict: no visible global function definition for 'nonzeroCoef'
sparsepredict: no visible global function definition for 'cbind2'
zeromat: no visible global function definition for 'new'
Undefined global functions or variables:
  abline axis cbind2 coef drop0 lambda.interp lines mtext new
  nonzeroCoef par plot predict rainbow rbind2 rnorm weighted.mean
Consider adding
  importFrom("grDevices", "rainbow")
  importFrom("graphics", "abline", "axis", "lines", "mtext", "par",
             "plot")
  importFrom("methods", "cbind2", "new", "rbind2")
  importFrom("stats", "coef", "predict", "rnorm", "weighted.mean")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').