Rbundler manages an application's dependencies systematically and repeatedly.

Rbundler manages a project-specific library for dependency package installation. By specifying dependencies in a DESCRIPTION file in a project's root directory, one may install and use dependencies in a repeatable fashion without requiring manual maintenance. rbundler creates a project-specific R library in `PROJECT_ROOT/.Rbundle` (by default) and a project-specific `R_LIBS_USER` value, set in `PROJECT_ROOT/.Renviron`. It supports dependency management for R standard "Depends", "Imports", "Suggests", and "LinkingTo" package dependencies. rbundler also attempts to validate and install versioned dependencies, such as ">=", "==", "<=". Note that, due to the way R manages package installation, differing nested versioned dependencies are not allowed. For example, if your project depends on packages A (== 1), and B (== 2), but package A depends on B (== 1), then a nested dependency violation will cause rbundler to error out.


rbundler 0.3.7

rbundler 0.3.6

  • Bug fix for system-specific package installations.
  • Manage all test data within the R session tempdir, per the CRAN policy.
  • Upgrade testthat dependency and migrate to the recommended testthat directory structure

rbundler 0.3.5

  • Use correct suffix for CRAN binaries. Fixes #18. Thanks, @KentonWhite!

rbundler 0.3.4

  • Add a note on nested dependency issues.

rbundler 0.3.3

  • Upgrade to devtools 1.3
  • Introduce dependencies option to control installation of "Depends", "Imports", "LinkingTo", and "Suggests" dependencies.

rbundler 0.3.2

  • Bug fix for the case when a required package is already installed and the requirement is '>='.

rbundler 0.3.1

  • Adds support for installing versioned packages

rbundler 0.3.0

  • Adds support for installing versioned dependencies for source-type packages. Retrieves the set of available packages from the current repository's root and archive (if an archive exists, e.g. in CRAN-like repositories), then cross-references these packages with the bundled package dependencies, determining which package versions to install. Constructs a list of URLs of packages to install, and uses the devtools utility function install_url to install them.

  • Removes repos option from the main call to bundle. The caller should now have the repository set in their environment (i.e. using `options(repos='http://myrepo')

  • Re-introduces integration tests and adds mock package creation utilities: create_mock_packages

  • Adds utility functions for discoery of package versions: find_available_versions

  • Supports CRAN-like Archive directories, as well as single-directory repositories.

rbundler 0.2.2

Bug Fix: Append to R_LIBS_USER, instead of overwriting it. Extracts and exports two new bundle environment helpers.

rbundler 0.2

Removes libs option.

Uses a combination of .Renviron and PROJECT_ROOT/.Rbundle library location.

rbundler 0.1.1

Update devtools dependency to 0.7.1 and R dependency to 2.15.1.

rbundler 0.1


  • The bundle function installs the package and all of it's dependencies into a bundle library.


  • bundle installs packages into PROJECT_PATH/.Rbundle by default.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.7 by Yoni Ben-Meshulam, 5 years ago

Browse source code at https://github.com/cran/rbundler

Authors: Yoni Ben-Meshulam <[email protected]>

Documentation:   PDF Manual  

Task views: Reproducible Research

GPL-3 license

Depends on devtools

Suggests testthat, roxygen2

See at CRAN