How To Install R-testit on Fedora 36

In this tutorial we learn how to install R-testit in Fedora 36. R-testit is A Simple Package for Testing R Packages

Introduction

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

What is R-testit

Provides two convenience functions assert() and test_pkg() to facilitate testing R packages.

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

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

sudo dnf -y install R-testit

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

sudo yum -y install R-testit

How To Uninstall R-testit on Fedora 36

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

sudo dnf remove R-testit

R-testit Package Contents on Fedora 36

/usr/share/R/library/testit
/usr/share/R/library/testit/DESCRIPTION
/usr/share/R/library/testit/INDEX
/usr/share/R/library/testit/Meta
/usr/share/R/library/testit/Meta/Rd.rds
/usr/share/R/library/testit/Meta/features.rds
/usr/share/R/library/testit/Meta/hsearch.rds
/usr/share/R/library/testit/Meta/links.rds
/usr/share/R/library/testit/Meta/nsInfo.rds
/usr/share/R/library/testit/Meta/package.rds
/usr/share/R/library/testit/NAMESPACE
/usr/share/R/library/testit/NEWS.Rd
/usr/share/R/library/testit/R
/usr/share/R/library/testit/R/testit
/usr/share/R/library/testit/R/testit.rdb
/usr/share/R/library/testit/R/testit.rdx
/usr/share/R/library/testit/help
/usr/share/R/library/testit/help/+25+3D+3D+25.html
/usr/share/R/library/testit/help/AnIndex
/usr/share/R/library/testit/help/aliases.rds
/usr/share/R/library/testit/help/assert.html
/usr/share/R/library/testit/help/has_error.html
/usr/share/R/library/testit/help/has_message.html
/usr/share/R/library/testit/help/has_warning.html
/usr/share/R/library/testit/help/paths.rds
/usr/share/R/library/testit/help/test_pkg.html
/usr/share/R/library/testit/help/testit.rdb
/usr/share/R/library/testit/help/testit.rdx
/usr/share/R/library/testit/html
/usr/share/R/library/testit/html/00Index.html
/usr/share/R/library/testit/html/R.css
/usr/share/R/library/testit/html/assert.html
/usr/share/R/library/testit/html/has_message.html
/usr/share/R/library/testit/html/test_pkg.html
/usr/share/R/library/testit/rstudio
/usr/share/R/library/testit/rstudio/addins.dcf

References

Summary

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