miniCRAN-package {miniCRAN}R Documentation

description

Description

At the end of 2014, CRAN consisted of more than 6,000 packages. Many organisations need to maintain a private mirror of CRAN, but with only a subset of packages that are relevant to them.

Details

miniCRAN makes it possible to create an internally consistent repository consisting of selected packages from CRAN-like repositories. The user specifies a set of desired packages, and miniCRAN recursively reads the dependency tree for these packages, then downloads only this subset.

There are many reasons for not creating a complete mirror CRAN using rsync:

The ambition of miniCRAN is to eventually satisfy all of these considerations.

Making a private repo

This subset will be internally consistent, i.e. the following functions will work as expected:

The main function is makeRepo() - this will download all the required packages, with their dependencies, into the appropriate repository file structure, and then create the repository index (PACKAGES) file.

Updating packages in a repo

Creating dependencies

To get a recursive list of dependencies as well as a plot, use pkgDep() followed by makeDepGraph().

Package options

minicran.mran

preferred p3m URL. Defaults to https://packagemanager.posit.co/cran for R versions 3.2.2 and greater. Versions earlier than 3.2.2 use HTTP instead of HTTPS.

Author(s)

Maintainer: Andrie de Vries apdevries@gmail.com [copyright holder]

Other contributors:

See Also

Useful links:


[Package miniCRAN version 0.3.0 Index]