How To Install R-reprex on Fedora 36
Introduction
In this tutorial we learn how to install R-reprex
on Fedora 36.
What is R-reprex
Convenience wrapper that uses the ‘rmarkdown’ package to render small snippets of code to target formats that include both code and output. The goal is to encourage the sharing of small, reproducible, and runnable examples on code-oriented websites, such as <https <https of input code and the default target for rendered output. ‘reprex’ also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.
We can use yum
or dnf
to install R-reprex
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-reprex.
Install R-reprex 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-reprex
using dnf
by running the following command:
sudo dnf -y install R-reprex
Install R-reprex 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-reprex
using yum
by running the following command:
sudo yum -y install R-reprex
How To Uninstall R-reprex on Fedora 36
To uninstall only the R-reprex
package we can use the following command:
sudo dnf remove R-reprex
R-reprex Package Contents on Fedora 36
/usr/share/R/library/reprex
/usr/share/R/library/reprex/DESCRIPTION
/usr/share/R/library/reprex/INDEX
/usr/share/R/library/reprex/LICENSE
/usr/share/R/library/reprex/Meta
/usr/share/R/library/reprex/Meta/Rd.rds
/usr/share/R/library/reprex/Meta/features.rds
/usr/share/R/library/reprex/Meta/hsearch.rds
/usr/share/R/library/reprex/Meta/links.rds
/usr/share/R/library/reprex/Meta/nsInfo.rds
/usr/share/R/library/reprex/Meta/package.rds
/usr/share/R/library/reprex/Meta/vignette.rds
/usr/share/R/library/reprex/NAMESPACE
/usr/share/R/library/reprex/NEWS.md
/usr/share/R/library/reprex/R
/usr/share/R/library/reprex/R/reprex
/usr/share/R/library/reprex/R/reprex.rdb
/usr/share/R/library/reprex/R/reprex.rdx
/usr/share/R/library/reprex/R/sysdata.rdb
/usr/share/R/library/reprex/R/sysdata.rdx
/usr/share/R/library/reprex/WORDLIST
/usr/share/R/library/reprex/addins
/usr/share/R/library/reprex/addins/reprex.css
/usr/share/R/library/reprex/doc
/usr/share/R/library/reprex/doc/index.html
/usr/share/R/library/reprex/doc/reprex-dos-and-donts.Rmd
/usr/share/R/library/reprex/doc/reprex-dos-and-donts.html
/usr/share/R/library/reprex/help
/usr/share/R/library/reprex/help/AnIndex
/usr/share/R/library/reprex/help/_PACKAGE.html
/usr/share/R/library/reprex/help/aliases.rds
/usr/share/R/library/reprex/help/figures
/usr/share/R/library/reprex/help/figures/README-viewer-screenshot.png
/usr/share/R/library/reprex/help/figures/help-me-help-you.png
/usr/share/R/library/reprex/help/figures/lifecycle-archived.svg
/usr/share/R/library/reprex/help/figures/lifecycle-defunct.svg
/usr/share/R/library/reprex/help/figures/lifecycle-deprecated.svg
/usr/share/R/library/reprex/help/figures/lifecycle-experimental.svg
/usr/share/R/library/reprex/help/figures/lifecycle-maturing.svg
/usr/share/R/library/reprex/help/figures/lifecycle-questioning.svg
/usr/share/R/library/reprex/help/figures/lifecycle-stable.svg
/usr/share/R/library/reprex/help/figures/lifecycle-superseded.svg
/usr/share/R/library/reprex/help/figures/logo.png
/usr/share/R/library/reprex/help/opt.html
/usr/share/R/library/reprex/help/paths.rds
/usr/share/R/library/reprex/help/reprex-package.html
/usr/share/R/library/reprex/help/reprex.html
/usr/share/R/library/reprex/help/reprex.rdb
/usr/share/R/library/reprex/help/reprex.rdx
/usr/share/R/library/reprex/help/reprex_addin.html
/usr/share/R/library/reprex/help/reprex_clean.html
/usr/share/R/library/reprex/help/reprex_document.html
/usr/share/R/library/reprex/help/reprex_html.html
/usr/share/R/library/reprex/help/reprex_invert.html
/usr/share/R/library/reprex/help/reprex_locale.html
/usr/share/R/library/reprex/help/reprex_options.html
/usr/share/R/library/reprex/help/reprex_r.html
/usr/share/R/library/reprex/help/reprex_render.html
/usr/share/R/library/reprex/help/reprex_rescue.html
/usr/share/R/library/reprex/help/reprex_rtf.html
/usr/share/R/library/reprex/help/reprex_selection.html
/usr/share/R/library/reprex/help/reprex_slack.html
/usr/share/R/library/reprex/help/reprex_venue.html
/usr/share/R/library/reprex/help/un-reprex.html
/usr/share/R/library/reprex/html
/usr/share/R/library/reprex/html/00Index.html
/usr/share/R/library/reprex/html/R.css
/usr/share/R/library/reprex/html/reprex-package.html
/usr/share/R/library/reprex/html/reprex.html
/usr/share/R/library/reprex/html/reprex_addin.html
/usr/share/R/library/reprex/html/reprex_document.html
/usr/share/R/library/reprex/html/reprex_locale.html
/usr/share/R/library/reprex/html/reprex_options.html
/usr/share/R/library/reprex/html/reprex_render.html
/usr/share/R/library/reprex/html/reprex_venue.html
/usr/share/R/library/reprex/html/un-reprex.html
/usr/share/R/library/reprex/rmarkdown
/usr/share/R/library/reprex/rmarkdown/templates
/usr/share/R/library/reprex/rmarkdown/templates/reprex-featureful
/usr/share/R/library/reprex/rmarkdown/templates/reprex-featureful/skeleton
/usr/share/R/library/reprex/rmarkdown/templates/reprex-featureful/skeleton/skeleton.Rmd
/usr/share/R/library/reprex/rmarkdown/templates/reprex-featureful/template.yaml
/usr/share/R/library/reprex/rmarkdown/templates/reprex-minimal
/usr/share/R/library/reprex/rmarkdown/templates/reprex-minimal/skeleton
/usr/share/R/library/reprex/rmarkdown/templates/reprex-minimal/skeleton/skeleton.Rmd
/usr/share/R/library/reprex/rmarkdown/templates/reprex-minimal/template.yaml
/usr/share/R/library/reprex/rstudio
/usr/share/R/library/reprex/rstudio/addins.dcf
/usr/share/R/library/reprex/templates
/usr/share/R/library/reprex/templates/BETTER_THAN_NOTHING.R
References
Summary
In this tutorial we learn how to install R-reprex
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).