adaptiveGMRF: no visible global function definition for 'as'
adaptiveGMRF: no visible global function definition for 'rnorm'
adaptiveGMRF: no visible global function definition for 'rgamma'
adaptiveGMRF: no visible global function definition for 'runif'
adaptiveGMRF: no visible global function definition for 'median'
adaptiveGMRF: no visible binding for global variable 'median'
adaptiveGMRF2COVAR: no visible global function definition for 'as'
adaptiveGMRF2COVAR: no visible global function definition for 'rnorm'
adaptiveGMRF2COVAR: no visible global function definition for 'rgamma'
adaptiveGMRF2COVAR : drawWeights.Var1: no visible global function
  definition for 'rgamma'
adaptiveGMRF2COVAR : drawWeights.Var1: no visible global function
  definition for 'runif'
adaptiveGMRF2COVAR : drawWeights.Var2: no visible global function
  definition for 'rgamma'
adaptiveGMRF2COVAR : drawWeights.Var2: no visible global function
  definition for 'runif'
adaptiveGMRF2COVAR: no visible global function definition for
  'mcparallel'
adaptiveGMRF2COVAR: no visible global function definition for
  'mccollect'
adaptiveGMRF2COVAR: no visible global function definition for 'median'
adaptiveGMRF2COVAR: no visible binding for global variable 'median'
sim.adaptiveGMRF: no visible global function definition for 'as'
sim.adaptiveGMRF: no visible global function definition for 'rnorm'
sim.adaptiveGMRF: no visible global function definition for 'rgamma'
sim.adaptiveGMRF: no visible global function definition for 'runif'
sim.adaptiveGMRF: no visible global function definition for 'median'
sim.adaptiveGMRF2COVAR: no visible global function definition for 'as'
sim.adaptiveGMRF2COVAR: no visible global function definition for
  'rnorm'
sim.adaptiveGMRF2COVAR: no visible global function definition for
  'rgamma'
sim.adaptiveGMRF2COVAR : drawWeights.Var1: no visible global function
  definition for 'rgamma'
sim.adaptiveGMRF2COVAR : drawWeights.Var1: no visible global function
  definition for 'runif'
sim.adaptiveGMRF2COVAR : drawWeights.Var2: no visible global function
  definition for 'rgamma'
sim.adaptiveGMRF2COVAR : drawWeights.Var2: no visible global function
  definition for 'runif'
sim.adaptiveGMRF2COVAR: no visible global function definition for
  'mcparallel'
sim.adaptiveGMRF2COVAR: no visible global function definition for
  'mccollect'
sim.adaptiveGMRF2COVAR: no visible global function definition for
  'median'
sim.fmri: no visible global function definition for 'as'
sim.fmri: no visible global function definition for 'rnorm'
sim.fmri2COVAR: no visible global function definition for 'as'
sim.fmri2COVAR: no visible global function definition for 'rnorm'
sim.weightsplot: no visible binding for global variable 'median'
weightsplot: no visible binding for global variable 'median'
Undefined global functions or variables:
  as mccollect mcparallel median rgamma rnorm runif
Consider adding
  importFrom("methods", "as")
  importFrom("stats", "median", "rgamma", "rnorm", "runif")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').