How To Install R-withr on Fedora 36

In this tutorial we learn how to install R-withr in Fedora 36. R-withr is Run Code ‘With’ Temporarily Modified Global State

Introduction

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

What is R-withr

A set of functions to run code ‘with’ safely and temporarily modified global state. Many of these functions were originally a part of the ‘devtools’ package, this provides a simple package with limited dependencies to provide access to these functions.

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

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

sudo dnf -y install R-withr

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

sudo yum -y install R-withr

How To Uninstall R-withr on Fedora 36

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

sudo dnf remove R-withr

R-withr Package Contents on Fedora 36

/usr/share/R/library/withr
/usr/share/R/library/withr/DESCRIPTION
/usr/share/R/library/withr/INDEX
/usr/share/R/library/withr/LICENSE
/usr/share/R/library/withr/Meta
/usr/share/R/library/withr/Meta/Rd.rds
/usr/share/R/library/withr/Meta/features.rds
/usr/share/R/library/withr/Meta/hsearch.rds
/usr/share/R/library/withr/Meta/links.rds
/usr/share/R/library/withr/Meta/nsInfo.rds
/usr/share/R/library/withr/Meta/package.rds
/usr/share/R/library/withr/Meta/vignette.rds
/usr/share/R/library/withr/NAMESPACE
/usr/share/R/library/withr/NEWS.md
/usr/share/R/library/withr/R
/usr/share/R/library/withr/R/withr
/usr/share/R/library/withr/R/withr.rdb
/usr/share/R/library/withr/R/withr.rdx
/usr/share/R/library/withr/doc
/usr/share/R/library/withr/doc/changing-and-restoring-state.R
/usr/share/R/library/withr/doc/changing-and-restoring-state.Rmd
/usr/share/R/library/withr/doc/changing-and-restoring-state.html
/usr/share/R/library/withr/doc/index.html
/usr/share/R/library/withr/help
/usr/share/R/library/withr/help/AnIndex
/usr/share/R/library/withr/help/aliases.rds
/usr/share/R/library/withr/help/defer.html
/usr/share/R/library/withr/help/defer_parent.html
/usr/share/R/library/withr/help/deferred_clear.html
/usr/share/R/library/withr/help/deferred_run.html
/usr/share/R/library/withr/help/devices.html
/usr/share/R/library/withr/help/figures
/usr/share/R/library/withr/help/figures/README-unnamed-chunk-3-1.png
/usr/share/R/library/withr/help/figures/logo.png
/usr/share/R/library/withr/help/local_.html
/usr/share/R/library/withr/help/local_bmp.html
/usr/share/R/library/withr/help/local_cairo_pdf.html
/usr/share/R/library/withr/help/local_cairo_ps.html
/usr/share/R/library/withr/help/local_collate.html
/usr/share/R/library/withr/help/local_connection.html
/usr/share/R/library/withr/help/local_db_connection.html
/usr/share/R/library/withr/help/local_dir.html
/usr/share/R/library/withr/help/local_environment.html
/usr/share/R/library/withr/help/local_envvar.html
/usr/share/R/library/withr/help/local_file.html
/usr/share/R/library/withr/help/local_jpeg.html
/usr/share/R/library/withr/help/local_language.html
/usr/share/R/library/withr/help/local_libpaths.html
/usr/share/R/library/withr/help/local_locale.html
/usr/share/R/library/withr/help/local_makevars.html
/usr/share/R/library/withr/help/local_message_sink.html
/usr/share/R/library/withr/help/local_namespace.html
/usr/share/R/library/withr/help/local_options.html
/usr/share/R/library/withr/help/local_output_sink.html
/usr/share/R/library/withr/help/local_package.html
/usr/share/R/library/withr/help/local_par.html
/usr/share/R/library/withr/help/local_path.html
/usr/share/R/library/withr/help/local_pdf.html
/usr/share/R/library/withr/help/local_png.html
/usr/share/R/library/withr/help/local_postscript.html
/usr/share/R/library/withr/help/local_preserve_seed.html
/usr/share/R/library/withr/help/local_rng_version.html
/usr/share/R/library/withr/help/local_seed.html
/usr/share/R/library/withr/help/local_svg.html
/usr/share/R/library/withr/help/local_temp_libpaths.html
/usr/share/R/library/withr/help/local_tempdir.html
/usr/share/R/library/withr/help/local_tempfile.html
/usr/share/R/library/withr/help/local_tiff.html
/usr/share/R/library/withr/help/local_timezone.html
/usr/share/R/library/withr/help/local_xfig.html
/usr/share/R/library/withr/help/makevars_user.html
/usr/share/R/library/withr/help/paths.rds
/usr/share/R/library/withr/help/set_makevars.html
/usr/share/R/library/withr/help/with_.html
/usr/share/R/library/withr/help/with_bmp.html
/usr/share/R/library/withr/help/with_cairo_pdf.html
/usr/share/R/library/withr/help/with_cairo_ps.html
/usr/share/R/library/withr/help/with_collate.html
/usr/share/R/library/withr/help/with_connection.html
/usr/share/R/library/withr/help/with_db_connection.html
/usr/share/R/library/withr/help/with_dev.html
/usr/share/R/library/withr/help/with_device.html
/usr/share/R/library/withr/help/with_dir.html
/usr/share/R/library/withr/help/with_environment.html
/usr/share/R/library/withr/help/with_envvar.html
/usr/share/R/library/withr/help/with_file.html
/usr/share/R/library/withr/help/with_gctorture2.html
/usr/share/R/library/withr/help/with_jpeg.html
/usr/share/R/library/withr/help/with_language.html
/usr/share/R/library/withr/help/with_libpaths.html
/usr/share/R/library/withr/help/with_locale.html
/usr/share/R/library/withr/help/with_makevars.html
/usr/share/R/library/withr/help/with_message_sink.html
/usr/share/R/library/withr/help/with_namespace.html
/usr/share/R/library/withr/help/with_options.html
/usr/share/R/library/withr/help/with_output_sink.html
/usr/share/R/library/withr/help/with_package.html
/usr/share/R/library/withr/help/with_par.html
/usr/share/R/library/withr/help/with_path.html
/usr/share/R/library/withr/help/with_pdf.html
/usr/share/R/library/withr/help/with_png.html
/usr/share/R/library/withr/help/with_postscript.html
/usr/share/R/library/withr/help/with_preserve_seed.html
/usr/share/R/library/withr/help/with_rng_version.html
/usr/share/R/library/withr/help/with_seed.html
/usr/share/R/library/withr/help/with_sink.html
/usr/share/R/library/withr/help/with_svg.html
/usr/share/R/library/withr/help/with_temp_libpaths.html
/usr/share/R/library/withr/help/with_tempdir.html
/usr/share/R/library/withr/help/with_tempfile.html
/usr/share/R/library/withr/help/with_tiff.html
/usr/share/R/library/withr/help/with_timezone.html
/usr/share/R/library/withr/help/with_xfig.html
/usr/share/R/library/withr/help/withr-package.html
/usr/share/R/library/withr/help/withr.html
/usr/share/R/library/withr/help/withr.rdb
/usr/share/R/library/withr/help/withr.rdx
/usr/share/R/library/withr/html
/usr/share/R/library/withr/html/00Index.html
/usr/share/R/library/withr/html/R.css
/usr/share/R/library/withr/html/defer.html
/usr/share/R/library/withr/html/devices.html
/usr/share/R/library/withr/html/makevars_user.html
/usr/share/R/library/withr/html/set_makevars.html
/usr/share/R/library/withr/html/with_.html
/usr/share/R/library/withr/html/with_collate.html
/usr/share/R/library/withr/html/with_connection.html
/usr/share/R/library/withr/html/with_db_connection.html
/usr/share/R/library/withr/html/with_dir.html
/usr/share/R/library/withr/html/with_envvar.html
/usr/share/R/library/withr/html/with_file.html
/usr/share/R/library/withr/html/with_gctorture2.html
/usr/share/R/library/withr/html/with_language.html
/usr/share/R/library/withr/html/with_libpaths.html
/usr/share/R/library/withr/html/with_locale.html
/usr/share/R/library/withr/html/with_makevars.html
/usr/share/R/library/withr/html/with_options.html
/usr/share/R/library/withr/html/with_package.html
/usr/share/R/library/withr/html/with_par.html
/usr/share/R/library/withr/html/with_path.html
/usr/share/R/library/withr/html/with_rng_version.html
/usr/share/R/library/withr/html/with_seed.html
/usr/share/R/library/withr/html/with_sink.html
/usr/share/R/library/withr/html/with_temp_libpaths.html
/usr/share/R/library/withr/html/with_tempfile.html
/usr/share/R/library/withr/html/with_timezone.html
/usr/share/R/library/withr/html/withr.html

References

Summary

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