efficiency_linters: Efficiency linters

efficiency_lintersR Documentation

Efficiency linters

Description

Linters highlighting code efficiency problems, such as unnecessary function calls.

Linters

The following linters are tagged with 'efficiency':

  • any_duplicated_linter

  • any_is_na_linter

  • boolean_arithmetic_linter

  • consecutive_mutate_linter

  • fixed_regex_linter

  • if_switch_linter

  • ifelse_censor_linter

  • inner_combine_linter

  • length_test_linter

  • lengths_linter

  • literal_coercion_linter

  • matrix_apply_linter

  • nested_ifelse_linter

  • nrow_subset_linter

  • nzchar_linter

  • outer_negation_linter

  • redundant_equals_linter

  • redundant_ifelse_linter

  • regex_subset_linter

  • routine_registration_linter

  • sample_int_linter

  • scalar_in_linter

  • seq_linter

  • sort_linter

  • string_boundary_linter

  • unnecessary_concatenation_linter

  • unnecessary_lambda_linter

  • vector_logic_linter

  • which_grepl_linter

See Also

linters for a complete list of linters available in lintr.


r-lib/lintr documentation built on Dec. 20, 2024, 7:24 p.m.