R/global.R

# these are all columns
# created inside a data.table
# R check doesn't pick this up
# so need to put them here to stop CRAN check error
globalVariables(
  c('PostcodeArea',
    'PostcodeArea_name',
    'user_filter',
    'total_filter',
    'value',
    'count',
    'train_test',
    '..response',
    '..weight',
    'include',
    'feature',
    'monotonicity',
    '..features',
    'objective',
    'gain',
    'tree_index',
    'split_index',
    'split_gain',
    'leaf_index',
    'leaf_value',
    'leaf_count',
    'internal_value',
    'internal_count',
    'idx',
    'interaction_grouping',
    'lgbm_prediction',
    'glm_prediction',
    '..non_lucidum_cols',
    '..lucidum_cols',
    'base_level',
    'importance',
    'var_terms',
    '..cols_to_summarise',
    'difference',
    'sigma_bar',
    '(Intercept)',
    '..vars',
    'row_idx_temp',
    'total',
    'base',
    '..keep_cols',
    'glm_tabulated_prediction',
    '.',
    'Value_formatted',
    'tree_features',
    'term',
    '..cols',
    'dimensions',
    'max_value',
    'min_value',
    'num_rows',
    'tabulated_glm',
    'index',
    'split_feature',
    'split_features',
    'lgbm_tabulated_prediction',
    'PostcodeUnit',
    'lat',
    'long',
    'tabulated_lgbm',
    'col%',
    'row%',
    'lr',
    'glm_prediction_rate',
    'lgbm_prediction_rate'
    )
  )
SpeckledJim2/lucidum documentation built on Jan. 26, 2025, 11:03 a.m.