Merge pull request #956 from strengejacke/check_against_ggeffects #55
Annotations
10 warnings
Lint:
R/color_utils.R#L57
file=R/color_utils.R,line=57,col=3,[object_overwrite_linter] 'col' is an exported object from package 'base'. Avoid re-using such symbols.
|
Lint:
R/color_utils.R#L60
file=R/color_utils.R,line=60,col=77,[T_and_F_symbol_linter] Use FALSE instead of the symbol F.
|
Lint:
R/helpfunctions.R#L107
file=R/helpfunctions.R,line=107,col=5,[unnecessary_nesting_linter] Simplify this condition by using 'else if' instead of 'else { if.
|
Lint:
R/helpfunctions.R#L174
file=R/helpfunctions.R,line=174,col=13,[undesirable_function_linter] Avoid undesirable function "structure". As an alternative, Use `class<-`, `names<-`, and `attr<-` to set attributes.
|
Lint:
R/helpfunctions.R#L219
file=R/helpfunctions.R,line=219,col=23,[redundant_equals_linter] Using == on a logical vector is redundant. Well-named logical vectors can be used directly in filtering. For data.table's `i` argument, wrap the column name in (), like `DT[(is_treatment)]`.
|
Lint:
R/helpfunctions.R#L244
file=R/helpfunctions.R,line=244,col=17,[fixed_regex_linter] Use "0" with fixed = TRUE here. This regular expression is static, i.e., its matches can be expressed as a fixed substring expression, which is faster to compute.
|
Lint:
R/helpfunctions.R#L252
file=R/helpfunctions.R,line=252,col=8,[indentation_linter] Hanging indent should be 43 spaces but is 8 spaces.
|
Lint:
R/helpfunctions.R#L252
file=R/helpfunctions.R,line=252,col=36,[infix_spaces_linter] Put spaces around all infix operators.
|
Lint:
R/helpfunctions.R#L252
file=R/helpfunctions.R,line=252,col=57,[infix_spaces_linter] Put spaces around all infix operators.
|
Lint:
R/helpfunctions.R#L252
file=R/helpfunctions.R,line=252,col=78,[infix_spaces_linter] Put spaces around all infix operators.
|
Loading