Learn R Programming

miniCRAN (version 0.3.0)

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,335

Version

0.3.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 28th, 2024

Functions in miniCRAN (0.3.0)

repoPrefix

Get the path to the repo directory containing the package files.
plot.pkgDepGraph

Plots a package dependency graph.
makeDepGraph

Create dependency graph from available packages.
updatePackages

Check for available package updates in a miniCRAN repo.
twodigitRversion

Get a two-digit version of the R version
makeLibrary

Deprecated function to download packages to local folder.
makeRepo

Downloads packages from CRAN to specified path and creates a local repository.
miniCRAN-package

description
pkgAvail

Reads available packages from CRAN repository.
pkgDep

Retrieves package dependencies.
addLocalPackage

Add local packages to a miniCRAN repository.
checkVersions

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

Returns names of base packages.
addPackage

Add packages to a miniCRAN repository.
is.online

Returns TRUE if the p3m URL can be accessed.
addOldPackage

Add old package versions to a miniCRAN repository.
getCranDescription

Obtains DESCRIPTION metadata from CRAN for each package.
cranJuly2014

Stored version of available.packages()
.listFiles

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

Add DESCRIPTION information from package on github.