How To Install R-covr on Fedora 36
Introduction
In this tutorial we learn how to install R-covr
on Fedora 36.
What is R-covr
Track and report code coverage for your package and (optionally) upload the results to a coverage service like ‘Codecov’ <https ‘Coveralls’ <https code being exercised by a set of tests. It is an indirect measure of test quality and completeness. This package is compatible with any testing methodology or framework and tracks coverage of both R code and compiled C/C++/FORTRAN code.
We can use yum
or dnf
to install R-covr
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-covr.
Install R-covr 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-covr
using dnf
by running the following command:
sudo dnf -y install R-covr
Install R-covr 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-covr
using yum
by running the following command:
sudo yum -y install R-covr
How To Uninstall R-covr on Fedora 36
To uninstall only the R-covr
package we can use the following command:
sudo dnf remove R-covr
R-covr Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/0697b285e0c04d6371792f3d69866f12892c51
/usr/lib64/R/library/covr
/usr/lib64/R/library/covr/DESCRIPTION
/usr/lib64/R/library/covr/INDEX
/usr/lib64/R/library/covr/Meta
/usr/lib64/R/library/covr/Meta/Rd.rds
/usr/lib64/R/library/covr/Meta/features.rds
/usr/lib64/R/library/covr/Meta/hsearch.rds
/usr/lib64/R/library/covr/Meta/links.rds
/usr/lib64/R/library/covr/Meta/nsInfo.rds
/usr/lib64/R/library/covr/Meta/package.rds
/usr/lib64/R/library/covr/Meta/vignette.rds
/usr/lib64/R/library/covr/NAMESPACE
/usr/lib64/R/library/covr/NEWS.md
/usr/lib64/R/library/covr/R
/usr/lib64/R/library/covr/R/covr
/usr/lib64/R/library/covr/R/covr.rdb
/usr/lib64/R/library/covr/R/covr.rdx
/usr/lib64/R/library/covr/doc
/usr/lib64/R/library/covr/doc/how_it_works.R
/usr/lib64/R/library/covr/doc/how_it_works.Rmd
/usr/lib64/R/library/covr/doc/how_it_works.html
/usr/lib64/R/library/covr/doc/index.html
/usr/lib64/R/library/covr/help
/usr/lib64/R/library/covr/help/AnIndex
/usr/lib64/R/library/covr/help/aliases.rds
/usr/lib64/R/library/covr/help/azure.html
/usr/lib64/R/library/covr/help/clear_counters.html
/usr/lib64/R/library/covr/help/code_coverage.html
/usr/lib64/R/library/covr/help/codecov.html
/usr/lib64/R/library/covr/help/count.html
/usr/lib64/R/library/covr/help/coverage_to_list.html
/usr/lib64/R/library/covr/help/coveralls.html
/usr/lib64/R/library/covr/help/covr-package.html
/usr/lib64/R/library/covr/help/covr.html
/usr/lib64/R/library/covr/help/covr.rdb
/usr/lib64/R/library/covr/help/covr.rdx
/usr/lib64/R/library/covr/help/display_name.html
/usr/lib64/R/library/covr/help/environment_coverage.html
/usr/lib64/R/library/covr/help/exclusions.html
/usr/lib64/R/library/covr/help/figures
/usr/lib64/R/library/covr/help/figures/logo.png
/usr/lib64/R/library/covr/help/file_coverage.html
/usr/lib64/R/library/covr/help/file_report.html
/usr/lib64/R/library/covr/help/function_coverage.html
/usr/lib64/R/library/covr/help/gitlab.html
/usr/lib64/R/library/covr/help/in_covr.html
/usr/lib64/R/library/covr/help/key.html
/usr/lib64/R/library/covr/help/new_counter.html
/usr/lib64/R/library/covr/help/package_coverage.html
/usr/lib64/R/library/covr/help/paths.rds
/usr/lib64/R/library/covr/help/percent_coverage.html
/usr/lib64/R/library/covr/help/print.coverage.html
/usr/lib64/R/library/covr/help/report.html
/usr/lib64/R/library/covr/help/system_check.html
/usr/lib64/R/library/covr/help/system_output.html
/usr/lib64/R/library/covr/help/tally_coverage.html
/usr/lib64/R/library/covr/help/to_cobertura.html
/usr/lib64/R/library/covr/help/to_sonarqube.html
/usr/lib64/R/library/covr/help/trace_calls.html
/usr/lib64/R/library/covr/help/value.html
/usr/lib64/R/library/covr/help/zero_coverage.html
/usr/lib64/R/library/covr/html
/usr/lib64/R/library/covr/html/00Index.html
/usr/lib64/R/library/covr/html/R.css
/usr/lib64/R/library/covr/html/azure.html
/usr/lib64/R/library/covr/html/clear_counters.html
/usr/lib64/R/library/covr/html/code_coverage.html
/usr/lib64/R/library/covr/html/codecov.html
/usr/lib64/R/library/covr/html/count.html
/usr/lib64/R/library/covr/html/coverage_to_list.html
/usr/lib64/R/library/covr/html/coveralls.html
/usr/lib64/R/library/covr/html/covr-package.html
/usr/lib64/R/library/covr/html/display_name.html
/usr/lib64/R/library/covr/html/environment_coverage.html
/usr/lib64/R/library/covr/html/exclusions.html
/usr/lib64/R/library/covr/html/file_coverage.html
/usr/lib64/R/library/covr/html/file_report.html
/usr/lib64/R/library/covr/html/function_coverage.html
/usr/lib64/R/library/covr/html/gitlab.html
/usr/lib64/R/library/covr/html/in_covr.html
/usr/lib64/R/library/covr/html/key.html
/usr/lib64/R/library/covr/html/new_counter.html
/usr/lib64/R/library/covr/html/package_coverage.html
/usr/lib64/R/library/covr/html/percent_coverage.html
/usr/lib64/R/library/covr/html/print.coverage.html
/usr/lib64/R/library/covr/html/report.html
/usr/lib64/R/library/covr/html/system_check.html
/usr/lib64/R/library/covr/html/system_output.html
/usr/lib64/R/library/covr/html/tally_coverage.html
/usr/lib64/R/library/covr/html/to_cobertura.html
/usr/lib64/R/library/covr/html/to_sonarqube.html
/usr/lib64/R/library/covr/html/trace_calls.html
/usr/lib64/R/library/covr/html/value.html
/usr/lib64/R/library/covr/html/zero_coverage.html
/usr/lib64/R/library/covr/libs
/usr/lib64/R/library/covr/libs/covr.so
/usr/lib64/R/library/covr/rstudio
/usr/lib64/R/library/covr/rstudio/addins.dcf
/usr/lib64/R/library/covr/www
/usr/lib64/R/library/covr/www/report.css
/usr/lib64/R/library/covr/www/shared
/usr/lib64/R/library/covr/www/shared/bootstrap
/usr/lib64/R/library/covr/www/shared/bootstrap/css
/usr/lib64/R/library/covr/www/shared/bootstrap/css/bootstrap-theme.min.css
/usr/lib64/R/library/covr/www/shared/bootstrap/css/bootstrap.min.css
/usr/lib64/R/library/covr/www/shared/bootstrap/js
/usr/lib64/R/library/covr/www/shared/bootstrap/js/bootstrap.min.js
/usr/lib64/R/library/covr/www/shared/bootstrap/shim
/usr/lib64/R/library/covr/www/shared/bootstrap/shim/html5shiv.min.js
/usr/lib64/R/library/covr/www/shared/bootstrap/shim/respond.min.js
/usr/lib64/R/library/covr/www/shared/highlight.js
/usr/lib64/R/library/covr/www/shared/highlight.js/LICENSE
/usr/lib64/R/library/covr/www/shared/highlight.js/highlight.pack.js
/usr/lib64/R/library/covr/www/shared/highlight.js/rstudio.css
References
Summary
In this tutorial we learn how to install R-covr
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).