Installation

devtools::install_github("mvanhala/rutils")

Overview

This packages contains a collection of helpful utility functions.

Examples include:

  • render_doc(): Rendering R Markdown documents in a clean callr session.

  • save_widget(): More flexible ways to save htmlwidgets.

  • desc_pkgs(): Detecting dependencies in a packages and adding them to the DESCRIPTION file.

  • desc_rewrite(): A wrapper for around functions in desc to standardize and rewrite the DESCRIPTION file of a package.

  • list_edit(): A function for modifying the elements of a list by name. This function is inspired by purrr::list_modify(), but only works on the top level of a list rather than recursively.