Package: flint 0.0.8
flint: Find and Fix Lints in R Code
Lints are code patterns that are not optimal because they are inefficient, forget corner cases, or less readable. 'flint' 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:
flint_0.0.8.tar.gz
flint_0.0.8.zip(r-4.5)flint_0.0.8.zip(r-4.4)flint_0.0.8.zip(r-4.3)
flint_0.0.8.tgz(r-4.4-any)flint_0.0.8.tgz(r-4.3-any)
flint_0.0.8.tar.gz(r-4.5-noble)flint_0.0.8.tar.gz(r-4.4-noble)
flint_0.0.8.tgz(r-4.4-emscripten)flint_0.0.8.tgz(r-4.3-emscripten)
flint.pdf |flint.html✨
flint/json (API)
NEWS
# Install 'flint' in R: |
install.packages('flint', repos = c('https://etiennebacher.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/etiennebacher/flint/issues
Last updated 13 hours agofrom:eaa3c04b3a (on v0.0.8). Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 07 2024 |
R-4.5-win | ERROR | Sep 07 2024 |
R-4.5-linux | ERROR | Sep 07 2024 |
R-4.4-win | ERROR | Sep 07 2024 |
R-4.4-mac | ERROR | Sep 07 2024 |
R-4.3-win | ERROR | Sep 07 2024 |
R-4.3-mac | ERROR | Sep 07 2024 |
Exports:any_duplicated_linterany_is_na_linterclass_equals_linterdouble_assignment_linterduplicate_argument_linterempty_assignment_linterequal_assignment_linterequals_na_linterexpect_comparison_linterexpect_length_linterexpect_named_linterexpect_not_linterexpect_null_linterexpect_true_false_linterexpect_type_linterfixfix_dirfix_packagefix_textfor_loop_index_linterfunction_return_linterimplicit_assignment_linteris_numeric_linterlength_levels_linterlength_test_linterlengths_linterlibrary_call_linterlintlint_dirlint_packagelint_textlist_lintersliteral_coercion_lintermatrix_apply_lintermissing_argument_linternested_ifelse_linternumeric_leading_zero_linterouter_negation_linterpackage_hooks_linterpaste_linterredundant_equals_linterredundant_ifelse_linterright_assignment_lintersemicolon_linterseq_lintersetup_flintsetup_flint_ghasort_linterT_and_F_symbol_lintertodo_comment_linterundesirable_function_linterundesirable_operator_linterunnecessary_nesting_linterunreachable_code_linterupdate_flint
Dependencies:astgreprbackportscheckmateclicrayondata.tabledigestfsrrapplyyaml