Skip to contents

Making a private repo

pkgAvail()
Reads available packages from CRAN repository.
pkgDep()
Retrieves package dependencies.
makeRepo() updateRepoIndex()
Downloads packages from CRAN to specified path and creates a local repository.

Updating packages in a repo

oldPackages() updatePackages()
Check for available package updates in a miniCRAN repo.
addLocalPackage()
Add local packages to a miniCRAN repository.
addOldPackage()
Add old package versions to a miniCRAN repository.
addPackage()
Add packages to a miniCRAN repository.

Dependency functions

basePkgs()
Returns names of base packages.

Github functions

addPackageListingGithub()
Add DESCRIPTION information from package on github.

Creating dependencies

pkgDep()
Retrieves package dependencies.
makeDepGraph()
Create dependency graph from available packages.
plot(<pkgDepGraph>)
Plots a package dependency graph.

Deprecated

makeLibrary()
Deprecated function to download packages to local folder.

Other

checkVersions()
Check for previous versions of packages in a miniCRAN repository.
cranJuly2014
Stored version of available.packages()
getCranDescription()
Obtains DESCRIPTION metadata from CRAN for each package.
.listFiles()
List pre-built packages in a directory based on file extension
miniCRAN-package miniCRAN minicran
description
repoPrefix()
Get the path to the repo directory containing the package files.
twodigitRversion()
Get a two-digit version of the R version
is.online()
Returns TRUE if the p3m URL can be accessed.