How To Install R-RcppDate on Fedora 36

In this tutorial we learn how to install R-RcppDate in Fedora 36. R-RcppDate is ‘date’ C++ Header Library for Date and Time Functionality

Introduction

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

What is R-RcppDate

A header-only C++ library is provided with support for dates, time zones, ISO weeks, Julian dates, and Islamic dates. ‘date’ offers extensive date and time functionality for the C++11, C++14 and C++17 standards and was written by Howard Hinnant and released under the MIT license. A slightly modified version has been accepted (along with ’tz.h’) as part of C++20. This package regroups all header files from the upstream repository by Howard Hinnant so that other R packages can use them in their C++ code. At present, few of the types have explicit ‘Rcpp’ wrappers though these may be added as needed.

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

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

sudo dnf -y install R-RcppDate

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

sudo yum -y install R-RcppDate

How To Uninstall R-RcppDate on Fedora 36

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

sudo dnf remove R-RcppDate

R-RcppDate Package Contents on Fedora 36

/usr/share/R/library/RcppDate
/usr/share/R/library/RcppDate/DESCRIPTION
/usr/share/R/library/RcppDate/INDEX
/usr/share/R/library/RcppDate/Meta
/usr/share/R/library/RcppDate/Meta/Rd.rds
/usr/share/R/library/RcppDate/Meta/features.rds
/usr/share/R/library/RcppDate/Meta/hsearch.rds
/usr/share/R/library/RcppDate/Meta/links.rds
/usr/share/R/library/RcppDate/Meta/nsInfo.rds
/usr/share/R/library/RcppDate/Meta/package.rds
/usr/share/R/library/RcppDate/NAMESPACE
/usr/share/R/library/RcppDate/NEWS.Rd
/usr/share/R/library/RcppDate/examples
/usr/share/R/library/RcppDate/examples/iso_week.cpp
/usr/share/R/library/RcppDate/examples/year_month_day.cpp
/usr/share/R/library/RcppDate/help
/usr/share/R/library/RcppDate/help/AnIndex
/usr/share/R/library/RcppDate/help/RcppDate-package.html
/usr/share/R/library/RcppDate/help/RcppDate.html
/usr/share/R/library/RcppDate/help/RcppDate.rdb
/usr/share/R/library/RcppDate/help/RcppDate.rdx
/usr/share/R/library/RcppDate/help/aliases.rds
/usr/share/R/library/RcppDate/help/paths.rds
/usr/share/R/library/RcppDate/html
/usr/share/R/library/RcppDate/html/00Index.html
/usr/share/R/library/RcppDate/html/R.css
/usr/share/R/library/RcppDate/html/RcppDate-package.html

References

Summary

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