bayfacfig: no visible global function definition for 'dev.set'
bayfacfig: no visible global function definition for 'postscript'
bayfacfig: no visible global function definition for 'points'
bayfacfig: no visible global function definition for 'legend'
bayfacfig: no visible global function definition for 'dev.off'
dysymod: no visible global function definition for 'write.table'
errorcorr: no visible global function definition for 'sd'
phaseportdat: no visible global function definition for 'dev.set'
phaseportdat: no visible global function definition for 'postscript'
phaseportdat: no visible global function definition for 'grid'
phaseportdat: no visible global function definition for 'matplot'
phaseportdat: no visible global function definition for 'points'
phaseportdat: no visible global function definition for 'legend'
phaseportdat: no visible global function definition for 'dev.off'
phaseportmod: no visible global function definition for 'dev.set'
phaseportmod: no visible global function definition for 'postscript'
phaseportmod: no visible global function definition for 'grid'
phaseportmod: no visible global function definition for 'matplot'
phaseportmod: no visible global function definition for 'points'
phaseportmod: no visible binding for global variable 'dev.off'
plot_data: no visible global function definition for 'dev.set'
plot_data: no visible global function definition for 'postscript'
plot_data: no visible global function definition for 'matplot'
plot_data: no visible global function definition for 'points'
plot_data: no visible global function definition for 'legend'
plot_data: no visible global function definition for 'dev.off'
polyfitbayes: no visible global function definition for 'runif'
polyfitbayes: no visible global function definition for 'var'
polyfitreg: no visible global function definition for 'lm'
polyfitreg: no visible binding for global variable 'na.exclude'
polyfitreg: no visible global function definition for 'var'
Undefined global functions or variables:
  dev.off dev.set grid legend lm matplot na.exclude points postscript
  runif sd var write.table
Consider adding
  importFrom("grDevices", "dev.off", "dev.set", "postscript")
  importFrom("graphics", "grid", "legend", "matplot", "points")
  importFrom("stats", "lm", "na.exclude", "runif", "sd", "var")
  importFrom("utils", "write.table")
to your NAMESPACE file.