How To Install R-spelling on Fedora 36

In this tutorial we learn how to install R-spelling in Fedora 36. R-spelling is Tools for Spell Checking in R

Introduction

In this tutorial we learn how to install R-spelling on Fedora 36.

What is R-spelling

Spell checking common document formats including latex, markdown, manual pages, and description files. Includes utilities to automate checking of documentation and vignettes as a unit test during ‘R CMD check’. Both British and American English are supported out of the box and other languages can be added. In addition, packages may define a ‘wordlist’ to allow custom terminology without having to abuse punctuation.

We can use yum or dnf to install R-spelling on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-spelling.

Install R-spelling 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-spelling using dnf by running the following command:

sudo dnf -y install R-spelling

Install R-spelling 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-spelling using yum by running the following command:

sudo yum -y install R-spelling

How To Uninstall R-spelling on Fedora 36

To uninstall only the R-spelling package we can use the following command:

sudo dnf remove R-spelling

R-spelling Package Contents on Fedora 36

/usr/share/R/library/spelling
/usr/share/R/library/spelling/DESCRIPTION
/usr/share/R/library/spelling/INDEX
/usr/share/R/library/spelling/LICENSE
/usr/share/R/library/spelling/Meta
/usr/share/R/library/spelling/Meta/Rd.rds
/usr/share/R/library/spelling/Meta/features.rds
/usr/share/R/library/spelling/Meta/hsearch.rds
/usr/share/R/library/spelling/Meta/links.rds
/usr/share/R/library/spelling/Meta/nsInfo.rds
/usr/share/R/library/spelling/Meta/package.rds
/usr/share/R/library/spelling/NAMESPACE
/usr/share/R/library/spelling/NEWS
/usr/share/R/library/spelling/R
/usr/share/R/library/spelling/R/spelling
/usr/share/R/library/spelling/R/spelling.rdb
/usr/share/R/library/spelling/R/spelling.rdx
/usr/share/R/library/spelling/WORDLIST
/usr/share/R/library/spelling/help
/usr/share/R/library/spelling/help/AnIndex
/usr/share/R/library/spelling/help/aliases.rds
/usr/share/R/library/spelling/help/get_wordlist.html
/usr/share/R/library/spelling/help/paths.rds
/usr/share/R/library/spelling/help/spell_check_files.html
/usr/share/R/library/spelling/help/spell_check_package.html
/usr/share/R/library/spelling/help/spell_check_setup.html
/usr/share/R/library/spelling/help/spell_check_test.html
/usr/share/R/library/spelling/help/spell_check_text.html
/usr/share/R/library/spelling/help/spelling.html
/usr/share/R/library/spelling/help/spelling.rdb
/usr/share/R/library/spelling/help/spelling.rdx
/usr/share/R/library/spelling/help/update_wordlist.html
/usr/share/R/library/spelling/help/wordlist.html
/usr/share/R/library/spelling/html
/usr/share/R/library/spelling/html/00Index.html
/usr/share/R/library/spelling/html/R.css
/usr/share/R/library/spelling/html/spell_check_files.html
/usr/share/R/library/spelling/html/spell_check_package.html
/usr/share/R/library/spelling/html/wordlist.html
/usr/share/R/library/spelling/templates
/usr/share/R/library/spelling/templates/spelling.Rout.save

References

Summary

In this tutorial we learn how to install R-spelling on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).