call_localoptim: no visible global function definition for 'optim'
call_localoptim: no visible global function definition for 'nlminb'
call_localoptim: no visible global function definition for
  'txtProgressBar'
call_localoptim: no visible global function definition for
  'setTxtProgressBar'
call_localoptim : <anonymous>: no visible global function definition
  for 'optim'
call_localoptim : <anonymous>: no visible global function definition
  for 'nlminb'
multiStartoptim: no visible global function definition for 'median'
Undefined global functions or variables:
  median nlminb optim setTxtProgressBar txtProgressBar
Consider adding
  importFrom("stats", "median", "nlminb", "optim")
  importFrom("utils", "setTxtProgressBar", "txtProgressBar")
to your NAMESPACE file.
call_localoptim: no visible global function definition for ‘optim’
call_localoptim: no visible global function definition for ‘nlminb’
call_localoptim: no visible global function definition for
  ‘txtProgressBar’
call_localoptim: no visible global function definition for
  ‘setTxtProgressBar’
call_localoptim : <anonymous>: no visible global function definition
  for ‘optim’
call_localoptim : <anonymous>: no visible global function definition
  for ‘nlminb’
multiStartoptim: no visible global function definition for ‘median’
Undefined global functions or variables:
  median nlminb optim setTxtProgressBar txtProgressBar
Consider adding
  importFrom("stats", "median", "nlminb", "optim")
  importFrom("utils", "setTxtProgressBar", "txtProgressBar")
to your NAMESPACE file.