Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(evanverse)
evanverse provides streamlined utility functions for installing, checking, and updating R packages — including support for CRAN, Bioconductor, and GitHub.
This vignette walks through:
inst_pkg() — install packages from any source
check_pkg() — check if a package is installed
update_pkg() — update packages smartly
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_pkg()check_pkg("ggplot2") # TRUE check_pkg("notapkg") # FALSE
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")
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.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.