calc.pcca: no visible global function definition for ‘cov’
calc.pfa: no visible global function definition for ‘cov’
compare.estimate.and.truth: no visible global function definition for
  ‘cor’
cost.W.exponential: no visible global function definition for ‘dexp’
cost7: no visible global function definition for ‘dexp’
drCCAcombine : reg_cca: no visible global function definition for ‘cov’
drCCAcombine : eigtest: no visible global function definition for ‘cov’
drCCAcombine : random: no visible binding for global variable ‘var’
generate.toydata: no visible global function definition for ‘rnorm’
generate.toydata: no visible global function definition for ‘rexp’
initialize2: no visible global function definition for ‘var’
initialize2: no visible global function definition for ‘cov’
optimize.parameters: no visible global function definition for ‘rnorm’
optimize.parameters: no visible global function definition for ‘sd’
optimize.parameters: no visible global function definition for ‘optim’
pfacost: no visible global function definition for ‘cov’
plotVar: no visible global function definition for ‘par’
plotVar: no visible global function definition for ‘lines’
ppca.calculate: no visible global function definition for ‘cov’
regCCA: no visible global function definition for ‘cov’
sharedVar : pwisepca: no visible global function definition for
  ‘prcomp’
solve.archambeau: no visible global function definition for ‘cov’
specificVar : withinpca: no visible global function definition for
  ‘prcomp’
specificVar : withinpca: no visible global function definition for
  ‘cov’
specificVar: no visible global function definition for ‘cov’
update.W.singledata: no visible global function definition for ‘optim’
wprior: no visible global function definition for ‘dexp’
Undefined global functions or variables:
  cor cov dexp lines optim par prcomp rexp rnorm sd var
Consider adding
  importFrom("graphics", "lines", "par")
  importFrom("stats", "cor", "cov", "dexp", "optim", "prcomp", "rexp",
             "rnorm", "sd", "var")
to your NAMESPACE file.