SPACECAP: no visible global function definition for ‘tclRequire’
SPACECAP: no visible global function definition for ‘tktoplevel’
SPACECAP: no visible global function definition for ‘tclVar’
SPACECAP : readFile1: no visible global function definition for
  ‘tclvalue’
SPACECAP : readFile1: no visible global function definition for
  ‘tkgetOpenFile’
SPACECAP : readFile1: no visible global function definition for
  ‘read.csv’
SPACECAP : readFile1: no visible global function definition for
  ‘tkconfigure’
SPACECAP : readFile1: no visible global function definition for
  ‘tkdelete’
SPACECAP : readFile1: no visible global function definition for
  ‘tkinsert’
SPACECAP : readFile1: no visible global function definition for
  ‘tkfocus’
SPACECAP : readFile2: no visible global function definition for
  ‘tclvalue’
SPACECAP : readFile2: no visible global function definition for
  ‘tkgetOpenFile’
SPACECAP : readFile2: no visible global function definition for
  ‘read.csv’
SPACECAP : readFile2: no visible global function definition for
  ‘tkconfigure’
SPACECAP : readFile2: no visible global function definition for
  ‘tkdelete’
SPACECAP : readFile2: no visible global function definition for
  ‘tkinsert’
SPACECAP : readFile2: no visible global function definition for
  ‘tkfocus’
SPACECAP : readFile3: no visible global function definition for
  ‘tclvalue’
SPACECAP : readFile3: no visible global function definition for
  ‘tkgetOpenFile’
SPACECAP : readFile3: no visible global function definition for
  ‘read.csv’
SPACECAP : readFile3: no visible global function definition for
  ‘tkconfigure’
SPACECAP : readFile3: no visible global function definition for
  ‘tkdelete’
SPACECAP : readFile3: no visible global function definition for
  ‘tkinsert’
SPACECAP : readFile3: no visible global function definition for
  ‘tkfocus’
SPACECAP: no visible global function definition for ‘tkframe’
SPACECAP: no visible global function definition for ‘tkpack’
SPACECAP: no visible global function definition for ‘tktext’
SPACECAP: no visible global function definition for ‘tkscrollbar’
SPACECAP : <anonymous>: no visible global function definition for
  ‘tkyview’
SPACECAP: no visible global function definition for ‘tkconfigure’
SPACECAP : <anonymous>: no visible global function definition for
  ‘tkset’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘tkinsert’
SPACECAP : SCRd.fn: no visible global function definition for ‘rbinom’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘tkProgressBar’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘setTkProgressBar’
SPACECAP : SCRd.fn: no visible global function definition for ‘rnorm’
SPACECAP : SCRd.fn: no visible global function definition for ‘runif’
SPACECAP : SCRd.fn: no visible global function definition for ‘rbeta’
SPACECAP : SCRd.fn: no visible binding for global variable ‘sd’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘write.csv’
SPACECAP : SCRd.fn: no visible global function definition for ‘jpeg’
SPACECAP : SCRd.fn: no visible global function definition for ‘plot’
SPACECAP : SCRd.fn: no visible global function definition for ‘density’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘segments’
SPACECAP : SCRd.fn: no visible global function definition for ‘legend’
SPACECAP : SCRd.fn: no visible global function definition for ‘dev.off’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘tclArray’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘tclvalue’
SPACECAP : SCRd.fn: no visible global function definition for
  ‘tkwidget’
SPACECAP : SCRd.fn: no visible global function definition for ‘tklabel’
SPACECAP : SCRd.fn: no visible global function definition for ‘tkgrid’
SPACECAP : SCRd.fn: no visible global function definition for ‘tkpack’
SPACECAP : run: no visible global function definition for ‘tclvalue’
SPACECAP : run: no visible global function definition for ‘tkcget’
SPACECAP : run: no visible global function definition for
  ‘tkmessageBox’
SPACECAP : run: no visible global function definition for ‘tkinsert’
SPACECAP : run: no visible global function definition for ‘tkfocus’
SPACECAP : run: no visible global function definition for ‘tkdestroy’
SPACECAP : run: no visible global function definition for ‘tkframe’
SPACECAP : run: no visible global function definition for ‘tkpack’
SPACECAP : exit: no visible global function definition for ‘tkdestroy’
SPACECAP : helpme : <anonymous>: no visible global function definition
  for ‘tkmessageBox’
SPACECAP : helpme: no visible global function definition for
  ‘tkmessageBox’
SPACECAP: no visible global function definition for ‘tkwm.title’
SPACECAP: no visible global function definition for ‘tkmenu’
SPACECAP: no visible global function definition for ‘tkadd’
SPACECAP: no visible global function definition for ‘tklabel’
SPACECAP: no visible global function definition for ‘tkgrid’
SPACECAP: no visible global function definition for ‘tkentry’
SPACECAP: no visible global function definition for ‘tkbutton’
SPACECAP : OnOk1: no visible global function definition for ‘tkinsert’
SPACECAP : OnOk1: no visible global function definition for
  ‘tkmessageBox’
SPACECAP : OnOk1: no visible global function definition for ‘tclvalue’
SPACECAP : OnOk1: no visible global function definition for ‘tkfocus’
SPACECAP : OnOk1: no visible global function definition for
  ‘tkconfigure’
SPACECAP : OnReset1: no visible global function definition for
  ‘tkconfigure’
SPACECAP: no visible global function definition for ‘tkgrid.configure’
SPACECAP: no visible global function definition for ‘tkradiobutton’
SPACECAP : onOk2: no visible global function definition for
  ‘tkconfigure’
SPACECAP : onOk2: no visible global function definition for ‘tkinsert’
SPACECAP : onReset2: no visible global function definition for
  ‘tkconfigure’
SPACECAP : OnOk3: no visible global function definition for ‘tclvalue’
SPACECAP : OnOk3: no visible global function definition for
  ‘tkmessageBox’
SPACECAP : OnOk3: no visible global function definition for ‘tkfocus’
SPACECAP : OnOk3: no visible global function definition for ‘tkinsert’
SPACECAP : OnOk3: no visible global function definition for
  ‘tkconfigure’
SPACECAP : onReset3: no visible global function definition for
  ‘tkconfigure’
plotDetFunc: no visible global function definition for ‘curve’
plotDetFunc: no visible global function definition for ‘arrows’
plotDetFunc: no visible global function definition for ‘text’
Undefined global functions or variables:
  arrows curve density dev.off jpeg legend plot rbeta rbinom read.csv
  rnorm runif sd segments setTkProgressBar tclArray tclRequire tclVar
  tclvalue text tkProgressBar tkadd tkbutton tkcget tkconfigure
  tkdelete tkdestroy tkentry tkfocus tkframe tkgetOpenFile tkgrid
  tkgrid.configure tkinsert tklabel tkmenu tkmessageBox tkpack
  tkradiobutton tkscrollbar tkset tktext tktoplevel tkwidget tkwm.title
  tkyview write.csv
Consider adding
  importFrom("grDevices", "dev.off", "jpeg")
  importFrom("graphics", "arrows", "curve", "legend", "plot", "segments",
             "text")
  importFrom("stats", "density", "rbeta", "rbinom", "rnorm", "runif",
             "sd")
  importFrom("utils", "read.csv", "write.csv")
to your NAMESPACE file.