How To Install R-RUnit on CentOS 8
Introduction
In this tutorial we learn how to install R-RUnit
on CentOS 8.
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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install R-RUnit.
Install R-RUnit on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the R-RUnit
package we can use the following command:
sudo dnf remove R-RUnit
R-RUnit Package Contents on CentOS 8
/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/AnIndex
/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/paths.rds
/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 CentOS 8 using yum and dnf.