Learn R Programming

miniCRAN (version 0.3.1)

Create a Mini Version of CRAN Containing Only Selected Packages

Description

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. The user can then install packages from this repository directly, rather than from CRAN. This is useful in production settings, e.g. server behind a firewall, or remote locations with slow (or zero) Internet access.

Copy Link

Version

Install

install.packages('miniCRAN')

Monthly Downloads

1,558

Version

0.3.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Andrie Vries

Last Published

April 23rd, 2025

Functions in miniCRAN (0.3.1)

plot.pkgDepGraph

Plots a package dependency graph.
makeDepGraph

Create dependency graph from available packages.
pkgAvail

Reads available packages from CRAN repository.
makeRepo

Downloads packages from CRAN to specified path and creates a local repository.
twodigitRversion

Get a two-digit version of the R version
updatePackages

Check for available package updates in a miniCRAN repo.
pkgDep

Retrieves package dependencies.
makeLibrary

Deprecated function to download packages to local folder.
repoPrefix

Get the path to the repo directory containing the package files.
miniCRAN-package

description
.listFiles

List pre-built packages in a directory based on file extension
addPackage

Add packages to a miniCRAN repository.
checkVersions

Check for previous versions of packages in a miniCRAN repository.
is.online

Returns TRUE if the p3m URL can be accessed.
addPackageListingGithub

Add DESCRIPTION information from package on github.
basePkgs

Returns names of base packages.
addOldPackage

Add old package versions to a miniCRAN repository.
getCranDescription

Obtains DESCRIPTION metadata from CRAN for each package.
addLocalPackage

Add local packages to a miniCRAN repository.
cranJuly2014

Stored version of available.packages()