update: Update

UpdateR Documentation

Update

Description

Update R packages raw

Usage

CRANIndex(datadir, cran.mirror="http://cran.r-project.org")
GithubIndex(datadir, filter=TRUE, fetch=TRUE, update=TRUE,
            cluster.size=4, ignore=c("cran", "rpkg", "Bioconductor-mirror", "rforge"))
UpdateIndex(datadir, db="rdata", host="mongodb://localhost",
            cran.params=list(), github.params=list())

Arguments

cran.mirror

Root URL of the CRAN mirror to use.

filter

If TRUE will test that GitHub repositories have a DESCRIPTION file, if they don't they will be removed from the repository list.

fetch

If FALSE will not clone or update any git repository and will just build the package index.

update

If TRUE will make a git pull inside each already existing git repository. If not will only clone those that are not present.

cluster.size

Number of cluster nodes to use for the git repository clone/pull.

ignore

Repository owners to ignore.

db

MongoDB database.

host

MongoDB host.

datadir

Directory where to store data

cran.params

Parameter list to pass to CRANIndex.

github.params

Parameter list to pass to GithubIndex.

Details

CRANIndex fetches last package list from CRAN and downloads missing package on disk.

GithubIndex clones or updates R package Github repositories.

UpdateIndex runs CRANIndex and GithubIndex, and updates the repository index on MongoDB.

Author(s)

Maëlick Claes <himself@maelick.net>


ecos-umons/extractoR documentation built on June 26, 2022, 2:21 p.m.