best_practices_linters | R Documentation |
Linters checking the use of coding best practices, such as explicit typing of numeric constants.
The following linters are tagged with 'best_practices':
absolute_path_linter
any_duplicated_linter
any_is_na_linter
boolean_arithmetic_linter
class_equals_linter
commented_code_linter
condition_call_linter
condition_message_linter
conjunct_test_linter
cyclocomp_linter
empty_assignment_linter
expect_comparison_linter
expect_length_linter
expect_named_linter
expect_not_linter
expect_null_linter
expect_s3_class_linter
expect_s4_class_linter
expect_true_false_linter
expect_type_linter
fixed_regex_linter
for_loop_index_linter
function_argument_linter
function_return_linter
if_switch_linter
ifelse_censor_linter
implicit_assignment_linter
implicit_integer_linter
is_numeric_linter
length_levels_linter
lengths_linter
library_call_linter
list_comparison_linter
literal_coercion_linter
nonportable_path_linter
nrow_subset_linter
nzchar_linter
object_overwrite_linter
outer_negation_linter
paste_linter
pipe_return_linter
print_linter
redundant_equals_linter
redundant_ifelse_linter
regex_subset_linter
rep_len_linter
routine_registration_linter
scalar_in_linter
seq_linter
sort_linter
stopifnot_all_linter
system_file_linter
T_and_F_symbol_linter
terminal_close_linter
undesirable_function_linter
undesirable_operator_linter
unnecessary_lambda_linter
unnecessary_nesting_linter
unnecessary_placeholder_linter
unreachable_code_linter
unused_import_linter
vector_logic_linter
yoda_test_linter
linters for a complete list of linters available in lintr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.