aa.account: no visible binding for global variable 'last'
cash: no visible global function definition for 'runif'
cashflow.portfolio.bond: no visible global function definition for
  'sort.data.frame'
connectTheDots: no visible global function definition for
  'sort.data.frame'
connectTheDots: no visible global function definition for 'last'
connectTheDots: no visible global function definition for 'first'
current.market: no visible global function definition for 'last'
findMaxMat: no visible global function definition for 'lambert_W0'
fund: no visible global function definition for 'runif'
genPortfolio.bond: no visible global function definition for 'runif'
genPortfolio.bond: no visible global function definition for 'rnorm'
market.rate: no visible global function definition for 'last'
plot.history.account: no visible global function definition for 'plot'
plot.history.market: no visible global function definition for
  'rainbow'
plot.history.market: no visible global function definition for 'median'
plot.history.market: no visible global function definition for
  'sort.data.frame'
plot.history.market: no visible global function definition for 'plot'
plot.history.market: no visible global function definition for 'lines'
plot.sum.account: no visible global function definition for 'plot'
plot.sum.account: no visible global function definition for 'axis'
plot.sum.account: no visible global function definition for 'mtext'
plot.sum.account: no visible global function definition for 'points'
plot.vasicek.discrete: no visible global function definition for 'plot'
portfolio: no visible global function definition for 'runif'
print.account: no visible binding for global variable 'last'
Undefined global functions or variables:
  axis first lambert_W0 last lines median mtext plot points rainbow
  rnorm runif sort.data.frame
Consider adding
  importFrom("grDevices", "rainbow")
  importFrom("graphics", "axis", "lines", "mtext", "plot", "points")
  importFrom("stats", "median", "rnorm", "runif")
to your NAMESPACE file.