Updates to fix build warnings. #3025
Annotations
10 warnings
|
lint / lint:
R/utils_standardize_center.R#L263
file=R/utils_standardize_center.R,line=263,col=7,[object_overwrite_linter] 'scale' is an exported object from package 'base'. Avoid re-using such symbols.
|
|
lint / lint:
R/utils_standardize_center.R#L260
file=R/utils_standardize_center.R,line=260,col=5,[object_overwrite_linter] 'scale' is an exported object from package 'base'. Avoid re-using such symbols.
|
|
lint / lint:
R/utils_standardize_center.R#L181
file=R/utils_standardize_center.R,line=181,col=7,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
|
|
lint / lint:
R/utils_standardize_center.R#L88
file=R/utils_standardize_center.R,line=88,col=3,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
|
|
lint / lint:
R/standardize.models.R#L395
file=R/standardize.models.R,line=395,col=13,[undesirable_function_linter] Avoid undesirable function "mapply".
|
|
lint / lint:
R/standardize.models.R#L104
file=R/standardize.models.R,line=104,col=3,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
|
|
lint / lint:
R/recode_values.R#L430
file=R/recode_values.R,line=430,col=23,[paste_linter] Use deparse1(x) instead of paste(deparse(x), collapse = ...).
|
|
lint / lint:
R/recode_values.R#L330
file=R/recode_values.R,line=330,col=21,[paste_linter] Use deparse1(x) instead of paste(deparse(x), collapse = ...).
|
|
lint / lint:
R/data_to_long.R#L143
file=R/data_to_long.R,line=143,col=3,[function_argument_linter] Arguments without defaults should come before arguments with defaults. Consider setting the default to NULL and using is.null() instead of using missing()
|
|
lint / lint:
R/data_codebook.R#L410
file=R/data_codebook.R,line=410,col=14,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE coerces to character, so you'll have to use as.character() if x is a factor. Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
|