contrib.url

0th

Percentile

Find Appropriate Paths in CRAN-like Repositories

contrib.url adds the appropriate type-specific path within a repository to each URL in repos.

Keywords
utilities
Usage
contrib.url(repos, type = getOption("pkgType"))
Arguments
repos

character vector, the base URL(s) of the repositories to use.

type

character string, indicating which type of packages: see install.packages.

Details

If type = "both" this will use the source repository.

Value

A character vector of the same length as repos.

setRepositories to set options("repos"), the most common value used for argument repos.

available.packages, download.packages, install.packages.

The ‘R Installation and Administration’ manual for how to set up a repository.

Aliases
• contrib.url
Documentation reproduced from package utils, version 3.4.1, License: Part of R 3.4.1

Community examples

Looks like there are no examples yet.