Learn R Programming

⚠️There's a newer version (0.3.1) of this package.Take me there.

miniCRAN (version 0.2.14)

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.2.14

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Andrie Vries

Last Published

September 15th, 2020

Functions in miniCRAN (0.2.14)

.listFiles

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

Obtains DESCRIPTION metadata from CRAN for each package.
addPackage

Add packages to a miniCRAN repository.
basePkgs

Returns names of base packages.
addLocalPackage

Add local packages to a miniCRAN repository.
makeDepGraph

Create dependency graph from available packages.
addPackageListingGithub

Add DESCRIPTION information from package on github.
cranJuly2014

Stored version of available.packages()
addOldPackage

Add old package versions to a miniCRAN repository.
checkVersions

Check for previous versions of packages in a miniCRAN repository.
updatePackages

Check for available package updates in a miniCRAN repo.
miniCRAN-package

description
pkgAvail

Reads available packages from CRAN repository.
twodigitRversion

Get a two-digit version of the R version
repoBinPath

Construct path to full binary location
makeRepo

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

Get the path to the repo directory containing the package files.
pkgDep

Retrieves package dependencies.
makeLibrary

Deprecated function to download packages to local folder.
plot.pkgDepGraph

Plots a package dependency graph.