# Global variable declarations for dplyr NSE columns and other
# unquoted identifiers used inside `data` / `mutate` / `summarize`
# pipelines. These declarations keep R CMD check quiet about
# "no visible binding for global variable" without changing runtime
# behaviour.
#
# Entries are kept in a single alphabetised vector so the file is easy
# to grep and easy to merge. When adding a new column, prefer adding
# it here in the right alphabetical slot rather than relying on
# `.data[[...]]` everywhere; the latter is fine for occasional uses
# but `.data$Col` lookups are more readable in the most common
# pipelines.
if (getRversion() >= "2.15.1") {
  utils::globalVariables(c(
    ".",
    ".context",
    ".FiniteGroupValue",
    ".Key",
    ".Level",
    ".NFinite",
    ".Row",
    ".ValidFacet",
    ".ValidGroup",
    ".ValidLevel",
    ".ValidValue",
    ".Weight",
    "AbsStd",
    "AbsZSTD",
    "AkaikeWeight",
    "Anchor",
    "AnchoredLevels",
    "Average",
    "Avg1",
    "Avg2",
    "AvgPersonMeasure",
    "AdjacentCount",
    "AdjacentAgreements",
    "AgreementMinusExpected",
    "Bias",
    "Bias Size",
    "Category",
    "ChiDf",
    "ChiP",
    "ChiSq",
    "ChosenGroupValue",
    "ConstrainedLevels",
    "Context1",
    "Context1 N",
    "Context2",
    "Context2 N",
    "Contrast",
    "Count",
    "Count1",
    "Count2",
    "d.f.",
    "BICWeight",
    "DF",
    "DF_Infit",
    "Delta_AIC",
    "Delta_BIC",
    "DF_Outfit",
    "DiffPercent",
    "DistinctFiniteValues",
    "DistinctGroups",
    "DistinctValues",
    "DistributionBasis",
    "Estimate",
    "EstimateVec",
    "EvidenceRatio",
    "ExactAgreements",
    "ExactCount",
    "Expctd",
    "Expctd Score",
    "Expected",
    "ExpectedAgreements",
    "ExpectedAverage",
    "ExpectedCount",
    "ExpectedExactAgreement",
    "ExpectedExactCount",
    "ExpectedPercent",
    "Facet",
    "FacetA_Index",
    "FacetA_Level",
    "FacetA_Measure",
    "FacetB_Index",
    "FacetB_Level",
    "FacetB_Measure",
    "FairM",
    "FairZ",
    "FiniteValues",
    "FixedChiSq",
    "FixedDF",
    "FreeLevels",
    "Group",
    "GroupCount",
    "GroupedLevels",
    "GroupValue",
    "Infit",
    "InfitZSTD",
    "Info",
    "item_combination",
    "Label",
    "Level",
    "LevelA",
    "LevelB",
    "Levels",
    "Local",
    "Local Measure1",
    "Local Measure2",
    "MaxScore",
    "MeanAbsContrast",
    "MeanAbsDiff",
    "MeanAbsT",
    "MeanAbsStdResidual",
    "MeanResidual",
    "MeanSE",
    "MeanStdResidual",
    "Measure",
    "Measure1",
    "Measure2",
    "MedianSE",
    "MixedSign",
    "MinScore",
    "ModelSE",
    "N",
    "Obs-Exp",
    "Obs-Exp Average",
    "Obs-Exp Avg1",
    "Obs-Exp Avg2",
    "Observations",
    "Observd",
    "Observd Count",
    "Observd Score",
    "Observed",
    "ObservedAverage",
    "OpportunityCount",
    "Ordered",
    "Outfit",
    "OutfitZSTD",
    "OverlapLevels",
    "p_Residual",
    "p_StdResidual",
    "Pair",
    "Percent",
    "PassMinObs",
    "Person",
    "PersonMeasure",
    "Prob.",
    "PTMEA",
    "RandomChiSq",
    "RandomDF",
    "RandomVar",
    "RealSE",
    "Residual",
    "RMSE",
    "Rows"
    ,
    "RaterRealReliability",
    "RaterRealSeparation",
    "RaterReliability",
    "RaterSeparation",
    "RaterStrata",
    "S.E.",
    "SampleCategory",
    "Score",
    "SD",
    "SE",
    "SEAvailable",
    "SEColumn",
    "SEMode",
    "SE_Method",
    "SE_Residual",
    "SE_StdResidual",
    "SE.x",
    "SE.y",
    "SE1",
    "SE2",
    "Separation",
    "SEVec",
    "Size",
    "Spacing",
    "Sq",
    "Status",
    "std_residual",
    "StdResidual",
    "StdSq",
    "Step",
    "StepFacet",
    "StepIndex",
    "Subset",
    "t_Residual",
    "t_StdResidual",
    "Target",
    "Target Measure",
    "Target N",
    "Target S.E.",
    "TotalCount",
    "TotalCountAll",
    "TotalScore",
    "Var",
    "Weight",
    "WeightedN",
    "WeightdCount",
    "WeightdScore",
    ".group_var",
    ".obs_row",
    "AbsDiff",
    "col_label",
    "Estimate1",
    "Estimate2",
    "ExpScore",
    "flag_bias",
    "flag_t",
    "Method",
    "N_Group1",
    "N_Group2",
    "ObsExpAvg",
    "ObsScore",
    "Var_sum",
    "Baseline",
    "New",
    "Drift",
    "SE_New",
    "Drift_SE_Ratio",
    "Flag",
    "FlaggedPairs",
    "FlaggedShare",
    "Ref_Est",
    "Wave_Est",
    "Wave",
    "Reference",
    "Est_From",
    "Est_To",
    "Residual",
    "Link",
    "Diff",
    "Element",
    "Cumulative_Offset",
    "Mean_Drift",
    "Max_Drift",
    "N_Flagged",
    "N_Common",
    "Offset",
    "Offset_SD",
    "Max_Residual",
    "Check",
    "Verdict",
    "Value",
    "Threshold",
    "Detail"
  ))
}
