How To Install R-lintr on Fedora 36
Introduction
In this tutorial we learn how to install R-lintr
on Fedora 36.
What is R-lintr
Checks adherence to a given style, syntax errors and possible semantic issues. Supports on the fly checking of R code edited with ‘RStudio IDE’, ‘Emacs’, ‘Vim’, ‘Sublime Text’ and ‘Atom’.
We can use yum
or dnf
to install R-lintr
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-lintr.
Install R-lintr on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install R-lintr
using dnf
by running the following command:
sudo dnf -y install R-lintr
Install R-lintr on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install R-lintr
using yum
by running the following command:
sudo yum -y install R-lintr
How To Uninstall R-lintr on Fedora 36
To uninstall only the R-lintr
package we can use the following command:
sudo dnf remove R-lintr
R-lintr Package Contents on Fedora 36
/usr/share/R/library/lintr
/usr/share/R/library/lintr/DESCRIPTION
/usr/share/R/library/lintr/INDEX
/usr/share/R/library/lintr/LICENSE
/usr/share/R/library/lintr/Meta
/usr/share/R/library/lintr/Meta/Rd.rds
/usr/share/R/library/lintr/Meta/features.rds
/usr/share/R/library/lintr/Meta/hsearch.rds
/usr/share/R/library/lintr/Meta/links.rds
/usr/share/R/library/lintr/Meta/nsInfo.rds
/usr/share/R/library/lintr/Meta/package.rds
/usr/share/R/library/lintr/Meta/vignette.rds
/usr/share/R/library/lintr/NAMESPACE
/usr/share/R/library/lintr/NEWS.md
/usr/share/R/library/lintr/R
/usr/share/R/library/lintr/R/lintr
/usr/share/R/library/lintr/R/lintr.rdb
/usr/share/R/library/lintr/R/lintr.rdx
/usr/share/R/library/lintr/doc
/usr/share/R/library/lintr/doc/creating_linters.Rmd
/usr/share/R/library/lintr/doc/creating_linters.html
/usr/share/R/library/lintr/doc/index.html
/usr/share/R/library/lintr/example
/usr/share/R/library/lintr/example/bad.R
/usr/share/R/library/lintr/example/complexity.R
/usr/share/R/library/lintr/help
/usr/share/R/library/lintr/help/AnIndex
/usr/share/R/library/lintr/help/Lint.html
/usr/share/R/library/lintr/help/T_and_F_symbol_linter.html
/usr/share/R/library/lintr/help/absolute_path_linter.html
/usr/share/R/library/lintr/help/absolute_paths_linter.html
/usr/share/R/library/lintr/help/aliases.rds
/usr/share/R/library/lintr/help/all_undesirable_functions.html
/usr/share/R/library/lintr/help/all_undesirable_operators.html
/usr/share/R/library/lintr/help/assignment_linter.html
/usr/share/R/library/lintr/help/camel_case_linter.html
/usr/share/R/library/lintr/help/checkstyle_output.html
/usr/share/R/library/lintr/help/clear_cache.html
/usr/share/R/library/lintr/help/closed_curly_linter.html
/usr/share/R/library/lintr/help/commas_linter.html
/usr/share/R/library/lintr/help/commented_code_linter.html
/usr/share/R/library/lintr/help/cyclocomp_linter.html
/usr/share/R/library/lintr/help/default_linters.html
/usr/share/R/library/lintr/help/default_settings.html
/usr/share/R/library/lintr/help/default_undesirable_functions.html
/usr/share/R/library/lintr/help/default_undesirable_operators.html
/usr/share/R/library/lintr/help/equals_na_linter.html
/usr/share/R/library/lintr/help/exclude.html
/usr/share/R/library/lintr/help/expect_lint.html
/usr/share/R/library/lintr/help/expect_lint_free.html
/usr/share/R/library/lintr/help/extraction_operator_linter.html
/usr/share/R/library/lintr/help/function_left_parentheses_linter.html
/usr/share/R/library/lintr/help/get_source_expressions.html
/usr/share/R/library/lintr/help/ids_with_token.html
/usr/share/R/library/lintr/help/implicit_integer_linter.html
/usr/share/R/library/lintr/help/infix_spaces_linter.html
/usr/share/R/library/lintr/help/line_length_linter.html
/usr/share/R/library/lintr/help/lint.html
/usr/share/R/library/lintr/help/lint_dir.html
/usr/share/R/library/lintr/help/lint_file.html
/usr/share/R/library/lintr/help/lint_package.html
/usr/share/R/library/lintr/help/linters.html
/usr/share/R/library/lintr/help/lintr-deprecated.html
/usr/share/R/library/lintr/help/lintr.html
/usr/share/R/library/lintr/help/lintr.rdb
/usr/share/R/library/lintr/help/lintr.rdx
/usr/share/R/library/lintr/help/multiple_dots_linter.html
/usr/share/R/library/lintr/help/no_tab_linter.html
/usr/share/R/library/lintr/help/nonportable_path_linter.html
/usr/share/R/library/lintr/help/object_length_linter.html
/usr/share/R/library/lintr/help/object_name_linter.html
/usr/share/R/library/lintr/help/object_usage_linter.html
/usr/share/R/library/lintr/help/open_curly_linter.html
/usr/share/R/library/lintr/help/paren_brace_linter.html
/usr/share/R/library/lintr/help/parse_exclusions.html
/usr/share/R/library/lintr/help/paths.rds
/usr/share/R/library/lintr/help/pipe_continuation_linter.html
/usr/share/R/library/lintr/help/read_settings.html
/usr/share/R/library/lintr/help/semicolon_terminator_linter.html
/usr/share/R/library/lintr/help/seq_linter.html
/usr/share/R/library/lintr/help/single_quotes_linter.html
/usr/share/R/library/lintr/help/snake_case_linter.html
/usr/share/R/library/lintr/help/spaces_inside_linter.html
/usr/share/R/library/lintr/help/spaces_left_parentheses_linter.html
/usr/share/R/library/lintr/help/todo_comment_linter.html
/usr/share/R/library/lintr/help/trailing_blank_lines_linter.html
/usr/share/R/library/lintr/help/trailing_semicolons_linter.html
/usr/share/R/library/lintr/help/trailing_whitespace_linter.html
/usr/share/R/library/lintr/help/undesirable_function_linter.html
/usr/share/R/library/lintr/help/undesirable_operator_linter.html
/usr/share/R/library/lintr/help/unneeded_concatenation_linter.html
/usr/share/R/library/lintr/help/with_defaults.html
/usr/share/R/library/lintr/help/with_id.html
/usr/share/R/library/lintr/html
/usr/share/R/library/lintr/html/00Index.html
/usr/share/R/library/lintr/html/Lint.html
/usr/share/R/library/lintr/html/R.css
/usr/share/R/library/lintr/html/checkstyle_output.html
/usr/share/R/library/lintr/html/clear_cache.html
/usr/share/R/library/lintr/html/default_linters.html
/usr/share/R/library/lintr/html/default_settings.html
/usr/share/R/library/lintr/html/default_undesirable_functions.html
/usr/share/R/library/lintr/html/exclude.html
/usr/share/R/library/lintr/html/expect_lint.html
/usr/share/R/library/lintr/html/expect_lint_free.html
/usr/share/R/library/lintr/html/get_source_expressions.html
/usr/share/R/library/lintr/html/ids_with_token.html
/usr/share/R/library/lintr/html/lint_dir.html
/usr/share/R/library/lintr/html/lint_file.html
/usr/share/R/library/lintr/html/lint_package.html
/usr/share/R/library/lintr/html/linters.html
/usr/share/R/library/lintr/html/lintr-deprecated.html
/usr/share/R/library/lintr/html/lintr.html
/usr/share/R/library/lintr/html/parse_exclusions.html
/usr/share/R/library/lintr/html/read_settings.html
/usr/share/R/library/lintr/html/with_defaults.html
/usr/share/R/library/lintr/rstudio
/usr/share/R/library/lintr/rstudio/addins.dcf
/usr/share/R/library/lintr/syntastic
/usr/share/R/library/lintr/syntastic/lintr.vim
References
Summary
In this tutorial we learn how to install R-lintr
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).