calc_linex_a: no visible global function definition for 'optimize'
generate_inits: no visible global function definition for 'rnorm'
generate_inits: no visible global function definition for 'runif'
generate_inits: no visible global function definition for 'rpois'
generate_inits_misID: no visible global function definition for 'runif'
generate_inits_misID: no visible global function definition for 'rnorm'
generate_inits_misID: no visible global function definition for 'rpois'
get_confusion_array: no visible global function definition for
  'model.matrix'
get_mod_matrix: no visible global function definition for
  'model.matrix'
hierarchical_DS: no visible global function definition for 'runif'
hierarchical_DS: no visible global function definition for
  'model.matrix'
log_lambda_log_likelihood: no visible global function definition for
  'dnorm'
mcmc_ds: no visible global function definition for 'rnorm'
mcmc_ds: no visible global function definition for 'pnorm'
mcmc_ds: no visible global function definition for 'runif'
mcmc_ds: no visible global function definition for 'dnorm'
mcmc_ds: no visible global function definition for 'dpois'
mcmc_ds: no visible global function definition for 'rgamma'
mcmc_ds: no visible global function definition for 'rpois'
plot_obs_pred: no visible global function definition for 'par'
plot_obs_pred: no visible global function definition for 'plot'
plot_obs_pred: no visible global function definition for 'points'
plot_obs_pred: no visible global function definition for 'abline'
plot_obs_pred: no visible global function definition for 'legend'
post_loss: no visible global function definition for 'median'
post_loss: no visible global function definition for 'var'
probit.fct: no visible global function definition for 'model.matrix'
probit.fct: no visible global function definition for 'pnorm'
rrw: no visible global function definition for 'rnorm'
simulate_data: no visible global function definition for 'pnorm'
simulate_data: no visible global function definition for 'rpois'
switch_pdf: no visible global function definition for 'dpois'
switch_pdf: no visible global function definition for 'dnorm'
switch_sample: no visible global function definition for 'rpois'
switch_sample: no visible global function definition for 'rnorm'
switch_sample: no visible global function definition for 'runif'
switch_sample_prior: no visible global function definition for 'rgamma'
switch_sample_prior: no visible global function definition for 'rnorm'
table.mcmc: no visible global function definition for 'write.csv'
Undefined global functions or variables:
  abline dnorm dpois legend median model.matrix optimize par plot pnorm
  points rgamma rnorm rpois runif var write.csv
Consider adding
  importFrom("graphics", "abline", "legend", "par", "plot", "points")
  importFrom("stats", "dnorm", "dpois", "median", "model.matrix",
             "optimize", "pnorm", "rgamma", "rnorm", "rpois", "runif",
             "var")
  importFrom("utils", "write.csv")
to your NAMESPACE file.