# https://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-visible-binding-for-global-variable-notes-when#comment20826625_12429344
# 2012 hadley says "globalVariables is a hideous hack and I will never use it"
# 2014 hadley updates his own answer with globalVariables as one of "two solutions"
#' @importFrom Rcpp evalCpp
#' @useDynLib marginaleffects
#' @import data.table
utils::globalVariables(c(
  "marginaleffects_contrast_hi",
  "marginaleffects_contrast_lo",
  "..lab_cols",
  "..hypothesis_by",
  "marginaleffects_unique_labels",
  "..lab",
  "..nd",
  "..bycols",
  "..by",
  "..to_keep",
  "..cols",
  "..col_x",
  "..col_newdata",
  "..idx_by",
  "..idx_hi",
  "..cl",
  "..idx_lo",
  ".data",
  "..idx_or",
  "..idx",
  "..idx1",
  "..idx2",
  "..nonfocal",
  "aa",
  "rowidcf",
  "elast",
  "..tmp",
  "..variables_grid",
  "..w",
  "marginaleffects_lab",
  "marginaleffects_ter",
  "..label_columns",
  "marginaleffects_internal_label",
  ".",
  "tmp_idx",
  "chunk",
  "comparison",
  "condition_variable",
  "conf_int",
  "conf_level",
  "conf.high",
  "conf.low",
  "contrast",
  "draw",
  "dydx",
  "eps",
  "estimates",
  "estimate",
  "formatBicLL",
  "gn",
  "group",
  "logLik",
  "m",
  "marginaleffects_function",
  "marginaleffects_wts_internal",
  "marginalmean",
  "model",
  "N",
  "p.value",
  "part",
  "patterns",
  "position",
  "predicted_hi",
  "predicted_lo",
  "predicted_or",
  "predicted",
  "rowid",
  "rowidunique",
  "hi",
  "lo",
  "section",
  "stars_note",
  "statistic",
  "statistic1",
  "std.error",
  "term",
  "ticks",
  "tmp_grp",
  "comparison_idx",
  "value",
  "where",
  "wts"))
