How To Install R-disposables on Fedora 36

In this tutorial we learn how to install R-disposables in Fedora 36. R-disposables is Create Disposable R Packages for Testing

Introduction

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

What is R-disposables

Create disposable R packages for testing. You can create, install and load multiple R packages with a single function call, and then unload, uninstall and destroy them with another function call. This is handy when testing how some R code or an R package behaves with respect to other

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

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

sudo dnf -y install R-disposables

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

sudo yum -y install R-disposables

How To Uninstall R-disposables on Fedora 36

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

sudo dnf remove R-disposables

R-disposables Package Contents on Fedora 36

/usr/share/R/library/disposables
/usr/share/R/library/disposables/DESCRIPTION
/usr/share/R/library/disposables/INDEX
/usr/share/R/library/disposables/LICENSE
/usr/share/R/library/disposables/Meta
/usr/share/R/library/disposables/Meta/Rd.rds
/usr/share/R/library/disposables/Meta/features.rds
/usr/share/R/library/disposables/Meta/hsearch.rds
/usr/share/R/library/disposables/Meta/links.rds
/usr/share/R/library/disposables/Meta/nsInfo.rds
/usr/share/R/library/disposables/Meta/package.rds
/usr/share/R/library/disposables/NAMESPACE
/usr/share/R/library/disposables/NEWS.markdown
/usr/share/R/library/disposables/R
/usr/share/R/library/disposables/R/disposables
/usr/share/R/library/disposables/R/disposables.rdb
/usr/share/R/library/disposables/R/disposables.rdx
/usr/share/R/library/disposables/README.Rmd
/usr/share/R/library/disposables/help
/usr/share/R/library/disposables/help/AnIndex
/usr/share/R/library/disposables/help/aliases.rds
/usr/share/R/library/disposables/help/disposables.rdb
/usr/share/R/library/disposables/help/disposables.rdx
/usr/share/R/library/disposables/help/dispose_packages.html
/usr/share/R/library/disposables/help/make_packages.html
/usr/share/R/library/disposables/help/paths.rds
/usr/share/R/library/disposables/html
/usr/share/R/library/disposables/html/00Index.html
/usr/share/R/library/disposables/html/R.css
/usr/share/R/library/disposables/html/dispose_packages.html
/usr/share/R/library/disposables/html/make_packages.html

References

Summary

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