Author: Matt Paul - mpaul@rockefeller.edu
Date: 2026-06-02

# Herper Quick Start Guide

Matt Paul - mpaul@rockefeller.edu

#### 06/02/2026

#### Package

Herper 1.22.0

# Contents

The Herper package is a simple toolset to install and manage Conda packages and environments from R.

The Herper package was developed by Matt Paul, Doug Barrows and Thomas Carroll at the Rockefeller University Bioinformatics Resources Center with contributions from Kathryn Rozen-Gagnon.

This Quick start gives a brief intro into getting up and running with Herper. Check the documentation website for more detailed information and use case examples.

## 0.1 Installation

Use the `BiocManager` package to download and install the package from our Github repository:

    if (!requireNamespace("BiocManager", quietly = TRUE))
        install.packages("BiocManager")
    BiocManager::install("Herper")

Once installed, load it into your R session:

    library(Herper)

## 0.2 Install Conda packages with install_CondaTools.

The install_CondaTools() function allows the user to specify required Conda software and the desired environment to install into.

Miniconda is installed as part of the process (by default into the r-reticulate’s default Conda location). If you already have Miniconda installed (or want to control the location of miniconda installation), you can specify the path with the pathToMiniConda parameter.

    myMiniconda <- file.path(tempdir(),"Test")
    install_CondaTools("salmon==1.3.0", "herper", pathToMiniConda = myMiniconda)

## 0.3 Install R package dependencies with install_CondaSysReqs.

The install_CondaSysReqs checks the System Requirements for the specified R package, and uses Conda to install this software.

    testPkg <- system.file("extdata/HerperTestPkg",package="Herper")
    install.packages(testPkg,type = "source",repos = NULL)
    condaDir <- file.path(tempdir(),"r-miniconda")
    condaPaths <- install_CondaSysReqs("HerperTestPkg", pathToMiniConda = myMiniconda,SysReqsAsJSON=FALSE)
    #' system2(file.path(condaPaths$pathToEnvBin,"samtools"),args = "--help")

## 0.4 Acknowledgements

Thank you to Ji-Dung Luo and Wei Wang for testing/vignette review/critical feedback and Ziwei Liang for their support.

## 0.5 Session Information

    sessionInfo()

    ## R version 4.6.0 (2026-04-24)
    ## Platform: x86_64-apple-darwin20
    ## Running under: macOS Monterey 12.7.6
    ##
    ## Matrix products: default
    ## BLAS:   /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libRblas.0.dylib
    ## LAPACK: /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.1
    ##
    ## locale:
    ## [1] C/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
    ##
    ## time zone: America/New_York
    ## tzcode source: internal
    ##
    ## attached base packages:
    ## [1] stats     graphics  grDevices utils     datasets  methods   base
    ##
    ## other attached packages:
    ## [1] Herper_1.22.0     reticulate_1.46.0 BiocStyle_2.40.0
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] cli_3.6.6           knitr_1.51          rlang_1.2.0         xfun_0.58
    ##  [5] otel_0.2.0          png_0.1-9           jsonlite_2.0.0      rjson_0.2.23
    ##  [9] htmltools_0.5.9     sass_0.4.10         rmarkdown_2.31      grid_4.6.0
    ## [13] evaluate_1.0.5      jquerylib_0.1.4     fastmap_1.2.0       yaml_2.3.12
    ## [17] lifecycle_1.0.5     bookdown_0.46       BiocManager_1.30.27 compiler_4.6.0
    ## [21] Rcpp_1.1.1-1.1      lattice_0.22-9      digest_0.6.39       R6_2.6.1
    ## [25] bslib_0.11.0        Matrix_1.7-5        withr_3.0.2         tools_4.6.0
    ## [29] cachem_1.1.0