Btilde: no visible global function definition for ‘bs’
dgp: no visible global function definition for ‘runif’
dgp: no visible global function definition for ‘rnorm’
fitted.hgam: no visible global function definition for ‘predict’
hgam: no visible global function definition for ‘LinReg’
hgam: no visible global function definition for ‘model.frame’
hgam: no visible global function definition for ‘model.response’
hgam.fit: no visible global function definition for ‘LinReg’
hgam.fit: no visible binding for global variable ‘quantile’
hgam.fit: no visible global function definition for ‘grplasso’
hgam.fit: no visible global function definition for ‘grpl.control’
hrisk: no visible binding for global variable ‘mclapply’
hrisk: no visible global function definition for ‘coef’
hrisk: no visible global function definition for ‘rmultinom’
hrisk : <anonymous>: no visible global function definition for
  ‘lambdamax’
hrisk : <anonymous>: no visible global function definition for ‘fitted’
logLik.hgam: no visible global function definition for ‘fitted’
plot.hgam: no visible global function definition for ‘coef’
plot.hgam: no visible global function definition for ‘predict’
plot.hgam : <anonymous>: no visible global function definition for
  ‘predict’
plot.hrisk: no visible global function definition for ‘plot3d’
plot.hrisk: no visible global function definition for ‘levelplot’
predict.hgam: no visible global function definition for ‘coef’
print.hgam: no visible global function definition for ‘coef’
print.summary.hgam: no visible global function definition for
  ‘printCoefmat’
residuals.hgam: no visible global function definition for ‘fitted’
summary.hgam: no visible global function definition for ‘residuals’
Undefined global functions or variables:
  LinReg bs coef fitted grpl.control grplasso lambdamax levelplot
  mclapply model.frame model.response plot3d predict printCoefmat
  quantile residuals rmultinom rnorm runif
Consider adding
  importFrom("stats", "coef", "fitted", "model.frame", "model.response",
             "predict", "printCoefmat", "quantile", "residuals",
             "rmultinom", "rnorm", "runif")
to your NAMESPACE file.