Package: flint 0.1.0
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.1.0.tar.gz
flint_0.1.0.zip(r-4.5)flint_0.1.0.zip(r-4.4)flint_0.1.0.zip(r-4.3)
flint_0.1.0.tgz(r-4.4-any)flint_0.1.0.tgz(r-4.3-any)
flint_0.1.0.tar.gz(r-4.5-noble)flint_0.1.0.tar.gz(r-4.4-noble)
flint_0.1.0.tgz(r-4.4-emscripten)flint_0.1.0.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 1 months agofrom:02ae2d21d9 (on v0.1.1). Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 14 2024 |
R-4.5-win | OK | Nov 14 2024 |
R-4.5-linux | OK | Nov 14 2024 |
R-4.4-win | OK | Nov 14 2024 |
R-4.4-mac | OK | Nov 14 2024 |
R-4.3-win | OK | Nov 14 2024 |
R-4.3-mac | OK | Nov 14 2024 |
Exports:any_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_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_linterrep_len_linterright_assignment_lintersample_int_lintersemicolon_linterseq_lintersetup_flintsetup_flint_ghasort_linterT_and_F_symbol_lintertodo_comment_linterundesirable_function_linterundesirable_operator_linterunnecessary_nesting_linterunreachable_code_linterupdate_flintwhich_grepl_linter
Dependencies:astgreprbackportscheckmateclicrayondata.tabledigestfsgit2rrrapplyyaml