How To Install R-RUnit on Fedora 36

In this tutorial we learn how to install R-RUnit in Fedora 36. R-RUnit is R Unit test framework

Introduction

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

What is R-RUnit

R functions implementing a standard Unit Testing framework, with additional code inspection and report generation tools.

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

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

sudo dnf -y install R-RUnit

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

sudo yum -y install R-RUnit

How To Uninstall R-RUnit on Fedora 36

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

sudo dnf remove R-RUnit

R-RUnit Package Contents on Fedora 36

/usr/share/R/library/RUnit
/usr/share/R/library/RUnit/DESCRIPTION
/usr/share/R/library/RUnit/INDEX
/usr/share/R/library/RUnit/Meta
/usr/share/R/library/RUnit/Meta/Rd.rds
/usr/share/R/library/RUnit/Meta/features.rds
/usr/share/R/library/RUnit/Meta/hsearch.rds
/usr/share/R/library/RUnit/Meta/links.rds
/usr/share/R/library/RUnit/Meta/nsInfo.rds
/usr/share/R/library/RUnit/Meta/package.rds
/usr/share/R/library/RUnit/Meta/vignette.rds
/usr/share/R/library/RUnit/NAMESPACE
/usr/share/R/library/RUnit/NEWS
/usr/share/R/library/RUnit/R
/usr/share/R/library/RUnit/R/RUnit
/usr/share/R/library/RUnit/R/RUnit.rdb
/usr/share/R/library/RUnit/R/RUnit.rdx
/usr/share/R/library/RUnit/doc
/usr/share/R/library/RUnit/doc/RUnit.R
/usr/share/R/library/RUnit/doc/RUnit.Rnw
/usr/share/R/library/RUnit/doc/RUnit.pdf
/usr/share/R/library/RUnit/doc/index.html
/usr/share/R/library/RUnit/examples
/usr/share/R/library/RUnit/examples/correctTestCase.r
/usr/share/R/library/RUnit/examples/runitVirtualClassTest.r
/usr/share/R/library/RUnit/examples/runitc2f.r
/usr/share/R/library/RUnit/help
/usr/share/R/library/RUnit/help/.setUp.html
/usr/share/R/library/RUnit/help/.tearDown.html
/usr/share/R/library/RUnit/help/AnIndex
/usr/share/R/library/RUnit/help/DEACTIVATED.html
/usr/share/R/library/RUnit/help/RUnit+20options.html
/usr/share/R/library/RUnit/help/RUnit-internal.html
/usr/share/R/library/RUnit/help/RUnit-intro.html
/usr/share/R/library/RUnit/help/RUnit-options.html
/usr/share/R/library/RUnit/help/RUnit.html
/usr/share/R/library/RUnit/help/RUnit.rdb
/usr/share/R/library/RUnit/help/RUnit.rdx
/usr/share/R/library/RUnit/help/aliases.rds
/usr/share/R/library/RUnit/help/checkEquals.html
/usr/share/R/library/RUnit/help/checkEqualsNumeric.html
/usr/share/R/library/RUnit/help/checkException.html
/usr/share/R/library/RUnit/help/checkFuncs.html
/usr/share/R/library/RUnit/help/checkIdentical.html
/usr/share/R/library/RUnit/help/checkTrue.html
/usr/share/R/library/RUnit/help/defineTestSuite.html
/usr/share/R/library/RUnit/help/getErrors.html
/usr/share/R/library/RUnit/help/includeTracker.html
/usr/share/R/library/RUnit/help/inspect.html
/usr/share/R/library/RUnit/help/isValidTestSuite.html
/usr/share/R/library/RUnit/help/paths.rds
/usr/share/R/library/RUnit/help/plotConnection.trackInfo.html
/usr/share/R/library/RUnit/help/print.RUnitTestData.html
/usr/share/R/library/RUnit/help/printHTML.html
/usr/share/R/library/RUnit/help/printHTML.trackInfo.html
/usr/share/R/library/RUnit/help/printHTML.trackinfo.html
/usr/share/R/library/RUnit/help/printHTMLProtocol.html
/usr/share/R/library/RUnit/help/printJUnitProtocol.html
/usr/share/R/library/RUnit/help/printTextProtocol.html
/usr/share/R/library/RUnit/help/runTestFile.html
/usr/share/R/library/RUnit/help/runTestSuite.html
/usr/share/R/library/RUnit/help/runit.html
/usr/share/R/library/RUnit/help/summary.RUnitTestData.html
/usr/share/R/library/RUnit/help/testCaseSetUp.html
/usr/share/R/library/RUnit/help/textProtocol.html
/usr/share/R/library/RUnit/help/tracker.html
/usr/share/R/library/RUnit/help/writeBeginBody.html
/usr/share/R/library/RUnit/help/writeBeginHead.html
/usr/share/R/library/RUnit/help/writeBeginHtml.html
/usr/share/R/library/RUnit/help/writeBeginTable.html
/usr/share/R/library/RUnit/help/writeBeginTag.html
/usr/share/R/library/RUnit/help/writeCR.html
/usr/share/R/library/RUnit/help/writeEndBody.html
/usr/share/R/library/RUnit/help/writeEndHead.html
/usr/share/R/library/RUnit/help/writeEndHtml.html
/usr/share/R/library/RUnit/help/writeEndTable.html
/usr/share/R/library/RUnit/help/writeEndTag.html
/usr/share/R/library/RUnit/help/writeHtmlEnd.html
/usr/share/R/library/RUnit/help/writeHtmlHeader.html
/usr/share/R/library/RUnit/help/writeHtmlSection.html
/usr/share/R/library/RUnit/help/writeHtmlSep.html
/usr/share/R/library/RUnit/help/writeImage.html
/usr/share/R/library/RUnit/help/writeLi.html
/usr/share/R/library/RUnit/help/writeLink.html
/usr/share/R/library/RUnit/help/writeLinkRef.html
/usr/share/R/library/RUnit/help/writeP.html
/usr/share/R/library/RUnit/help/writeRaw.html
/usr/share/R/library/RUnit/help/writeRawCR.html
/usr/share/R/library/RUnit/help/writeTableRow.html
/usr/share/R/library/RUnit/help/writeTitle.html
/usr/share/R/library/RUnit/html
/usr/share/R/library/RUnit/html/00Index.html
/usr/share/R/library/RUnit/html/R.css
/usr/share/R/library/RUnit/html/RUnit-internal.html
/usr/share/R/library/RUnit/html/RUnit-intro.html
/usr/share/R/library/RUnit/html/RUnit-options.html
/usr/share/R/library/RUnit/html/checkFuncs.html
/usr/share/R/library/RUnit/html/inspect.html
/usr/share/R/library/RUnit/html/printHTML.trackinfo.html
/usr/share/R/library/RUnit/html/runit.html
/usr/share/R/library/RUnit/html/testCaseSetUp.html
/usr/share/R/library/RUnit/html/textProtocol.html
/usr/share/R/library/RUnit/html/tracker.html
/usr/share/R/library/RUnit/share
/usr/share/R/library/RUnit/share/R
/usr/share/R/library/RUnit/share/R/checkCode.r
/usr/share/R/library/RUnit/share/R/compareRUnitTestData.r
/usr/share/R/library/RUnit/unitTests
/usr/share/R/library/RUnit/unitTests/Makefile
/usr/share/R/library/RUnit/unitTests/runalltests.R
/usr/share/R/library/RUnit/unitTests/runitHTMLProtocol.r
/usr/share/R/library/RUnit/unitTests/runitInspect.r
/usr/share/R/library/RUnit/unitTests/runitJUnitProtocol.r
/usr/share/R/library/RUnit/unitTests/runitPlotConnection.r
/usr/share/R/library/RUnit/unitTests/runitRUnit.r
/usr/share/R/library/RUnit/unitTests/runitS4.r
/usr/share/R/library/RUnit/unitTests/runitSetUp.r
/usr/share/R/library/RUnit/unitTests/runitTearDown.r
/usr/share/R/library/RUnit/unitTests/runitTestLogger.r
/usr/share/R/library/RUnit/unitTests/runitTextProtocol.r

References

Summary

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