How To Install R-prettydoc on Fedora 36

In this tutorial we learn how to install R-prettydoc in Fedora 36. R-prettydoc is Creating Pretty Documents from R Markdown

Introduction

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

What is R-prettydoc

Creating tiny yet beautiful documents and vignettes from R Markdown. The package provides the ‘html_pretty’ output format as an alternative to the ‘html_document’ and ‘html_vignette’ engines that convert R Markdown into HTML pages. Various themes and syntax highlight styles are supported.

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

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

sudo dnf -y install R-prettydoc

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

sudo yum -y install R-prettydoc

How To Uninstall R-prettydoc on Fedora 36

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

sudo dnf remove R-prettydoc

R-prettydoc Package Contents on Fedora 36

/usr/share/R/library/prettydoc
/usr/share/R/library/prettydoc/AUTHORS
/usr/share/R/library/prettydoc/DESCRIPTION
/usr/share/R/library/prettydoc/INDEX
/usr/share/R/library/prettydoc/Meta
/usr/share/R/library/prettydoc/Meta/Rd.rds
/usr/share/R/library/prettydoc/Meta/features.rds
/usr/share/R/library/prettydoc/Meta/hsearch.rds
/usr/share/R/library/prettydoc/Meta/links.rds
/usr/share/R/library/prettydoc/Meta/nsInfo.rds
/usr/share/R/library/prettydoc/Meta/package.rds
/usr/share/R/library/prettydoc/Meta/vignette.rds
/usr/share/R/library/prettydoc/NAMESPACE
/usr/share/R/library/prettydoc/NEWS.Rd
/usr/share/R/library/prettydoc/R
/usr/share/R/library/prettydoc/R/prettydoc
/usr/share/R/library/prettydoc/R/prettydoc.rdb
/usr/share/R/library/prettydoc/R/prettydoc.rdx
/usr/share/R/library/prettydoc/doc
/usr/share/R/library/prettydoc/doc/architect.R
/usr/share/R/library/prettydoc/doc/architect.Rmd
/usr/share/R/library/prettydoc/doc/architect.html
/usr/share/R/library/prettydoc/doc/cayman.R
/usr/share/R/library/prettydoc/doc/cayman.Rmd
/usr/share/R/library/prettydoc/doc/cayman.html
/usr/share/R/library/prettydoc/doc/hpstr.R
/usr/share/R/library/prettydoc/doc/hpstr.Rmd
/usr/share/R/library/prettydoc/doc/hpstr.html
/usr/share/R/library/prettydoc/doc/index.html
/usr/share/R/library/prettydoc/doc/leonids.R
/usr/share/R/library/prettydoc/doc/leonids.Rmd
/usr/share/R/library/prettydoc/doc/leonids.html
/usr/share/R/library/prettydoc/doc/tactile.R
/usr/share/R/library/prettydoc/doc/tactile.Rmd
/usr/share/R/library/prettydoc/doc/tactile.html
/usr/share/R/library/prettydoc/help
/usr/share/R/library/prettydoc/help/AnIndex
/usr/share/R/library/prettydoc/help/aliases.rds
/usr/share/R/library/prettydoc/help/html_pretty.html
/usr/share/R/library/prettydoc/help/paths.rds
/usr/share/R/library/prettydoc/help/prettydoc.rdb
/usr/share/R/library/prettydoc/help/prettydoc.rdx
/usr/share/R/library/prettydoc/html
/usr/share/R/library/prettydoc/html/00Index.html
/usr/share/R/library/prettydoc/html/R.css
/usr/share/R/library/prettydoc/html/html_pretty.html
/usr/share/R/library/prettydoc/resources
/usr/share/R/library/prettydoc/resources/css
/usr/share/R/library/prettydoc/resources/css/architect.css
/usr/share/R/library/prettydoc/resources/css/architect.min.css
/usr/share/R/library/prettydoc/resources/css/cayman.css
/usr/share/R/library/prettydoc/resources/css/cayman.min.css
/usr/share/R/library/prettydoc/resources/css/highlight
/usr/share/R/library/prettydoc/resources/css/highlight/github.css
/usr/share/R/library/prettydoc/resources/css/highlight/vignette.css
/usr/share/R/library/prettydoc/resources/css/hpstr.css
/usr/share/R/library/prettydoc/resources/css/hpstr.min.css
/usr/share/R/library/prettydoc/resources/css/katex
/usr/share/R/library/prettydoc/resources/css/katex/katex.min.css
/usr/share/R/library/prettydoc/resources/css/leonids.css
/usr/share/R/library/prettydoc/resources/css/leonids.min.css
/usr/share/R/library/prettydoc/resources/css/tactile.css
/usr/share/R/library/prettydoc/resources/css/tactile.min.css
/usr/share/R/library/prettydoc/resources/fonts
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_AMS-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Caligraphic-Bold.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Caligraphic-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Fraktur-Bold.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Fraktur-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Main-Bold.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Main-BoldItalic.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Main-Italic.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Main-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Math-BoldItalic.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Math-Italic.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_SansSerif-Bold.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_SansSerif-Italic.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_SansSerif-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Script-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Size1-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Size2-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Size3-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Size4-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/KaTeX_Typewriter-Regular.woff
/usr/share/R/library/prettydoc/resources/fonts/OpenSans-Bold.ttf
/usr/share/R/library/prettydoc/resources/fonts/OpenSans-Regular.ttf
/usr/share/R/library/prettydoc/resources/images
/usr/share/R/library/prettydoc/resources/images/body-bg.png
/usr/share/R/library/prettydoc/resources/images/header-bg.jpg
/usr/share/R/library/prettydoc/resources/images/highlight-bg.jpg
/usr/share/R/library/prettydoc/resources/js
/usr/share/R/library/prettydoc/resources/js/auto-render.min.js
/usr/share/R/library/prettydoc/resources/js/katex.min.js
/usr/share/R/library/prettydoc/resources/templates
/usr/share/R/library/prettydoc/resources/templates/architect.html
/usr/share/R/library/prettydoc/resources/templates/cayman.html
/usr/share/R/library/prettydoc/resources/templates/hpstr.html
/usr/share/R/library/prettydoc/resources/templates/leonids.html
/usr/share/R/library/prettydoc/resources/templates/tactile.html
/usr/share/R/library/prettydoc/rmarkdown
/usr/share/R/library/prettydoc/rmarkdown/templates
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_document
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_document/skeleton
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_document/skeleton/skeleton.Rmd
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_document/template.yaml
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_vignette
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_vignette/skeleton
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_vignette/skeleton/skeleton.Rmd
/usr/share/R/library/prettydoc/rmarkdown/templates/html_pretty_vignette/template.yaml

References

Summary

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