Skip to contents

πŸ“¦ Manage Your R Packages with Style

evanverse provides streamlined utility functions for installing, checking, and updating R packages β€” including support for CRAN, Bioconductor, and GitHub.

This vignette walks through:

πŸ”§ Install Packages β€” inst_pkg()

# Install a single CRAN package
inst_pkg("dplyr", source = "CRAN")

# Install from GitHub
inst_pkg("evanbio/evanverse", source = "GitHub")

# Install Bioconductor packages
inst_pkg("edgeR", source = "Bioconductor")

πŸ” Check Package Availability β€” check_pkg()

check_pkg("ggplot2")    # TRUE
check_pkg("notapkg")    # FALSE

πŸ” Update Packages β€” update_pkg()

# Update CRAN and Bioconductor packages
update_pkg()

# Update GitHub packages only
update_pkg(pkg = c("evanbio/evanverse", "rstudio/gt"), source = "GitHub")

# Update specific Bioconductor package
update_pkg(pkg = "limma", source = "Bioconductor")

πŸ“˜ Summary

Managing packages across CRAN, Bioconductor, and GitHub doesn’t need to be a pain.

With evanverse, you can keep your environment tidy and up-to-date β€” with just a few consistent commands.