Package: flir 0.6.0
flir: Find and Fix Lints in R Code
Lints are code patterns that are not optimal because they are inefficient, forget corner cases, or are less readable. 'flir' provides a small set of functions to detect those lints and automatically fix them. It builds on 'astgrepr', which itself uses the 'Rust' crate 'ast-grep' to parse and navigate R code.
Authors:
flir_0.6.0.tar.gz
flir_0.6.0.zip(r-4.7)flir_0.6.0.zip(r-4.6)flir_0.6.0.zip(r-4.5)
flir_0.6.0.tgz(r-4.6-any)flir_0.6.0.tgz(r-4.5-any)
flir_0.6.0.tar.gz(r-4.7-any)flir_0.6.0.tar.gz(r-4.6-any)
flir_0.6.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
flir/json (API)
NEWS
| # Install 'flir' in R: |
| install.packages('flir', repos = c('https://etiennebacher.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/etiennebacher/flir/issues
Pkgdown/docs site:https://flir.etiennebacher.com
Last updated from:9254cd01d2 (on v0.6.0). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 161 | ||
| source / vignettes | OK | 212 | ||
| linux-release-x86_64 | OK | 189 | ||
| macos-release-arm64 | OK | 193 | ||
| macos-oldrel-arm64 | OK | 182 | ||
| windows-devel | OK | 149 | ||
| windows-release | OK | 146 | ||
| windows-oldrel | OK | 134 | ||
| wasm-release | OK | 133 |
Exports:add_new_ruleany_duplicated_linterany_is_na_linterclass_equals_lintercondition_message_linterdouble_assignment_linterduplicate_argument_linterempty_assignment_linterequal_assignment_linterequals_na_linterexpect_comparison_linterexpect_identical_linterexpect_length_linterexpect_named_linterexpect_not_linterexpect_null_linterexpect_s3_class_linterexpect_s4_class_linterexpect_true_false_linterexpect_type_linterexport_new_rulefixfix_dirfix_packagefix_textfor_loop_index_linterfunction_return_linterimplicit_assignment_linteris_numeric_linterlength_levels_linterlength_test_linterlengths_linterlibrary_call_linterlintlint_dirlint_packagelint_textlist_comparison_linterlist_lintersliteral_coercion_lintermatrix_apply_lintermissing_argument_linternested_ifelse_linternumeric_leading_zero_linternzchar_linterouter_negation_linterpackage_hooks_linterpaste_linterredundant_equals_linterredundant_ifelse_linterrep_len_linterright_assignment_lintersample_int_linterseq_lintersetup_flirsetup_flir_ghasort_linterstopifnot_all_linterT_and_F_symbol_lintertodo_comment_linterundesirable_function_linterundesirable_operator_linterunnecessary_nesting_lintervector_logic_linterwhich_grepl_linter
Dependencies:astgreprbackportscheckmateclicrayondata.tabledigestfsgit2rrprojrootrrapplyyaml
Adding new rules
Rendered fromadding_rules.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2025-06-16
Started: 2024-07-01
Automatic fixes
Rendered fromautomatic_fixes.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2025-06-09
Started: 2025-05-22
Sharing rules across packages
Rendered fromsharing_rules.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2025-06-16
Started: 2025-06-12
Tips and tricks
Rendered fromtips-and-tricks.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2025-06-30
Started: 2025-06-29
