Learn R Programming

rdocdump (version 0.1.0)

rdd_set_repos: Set rdocdump Repository Options

Description

This function sets the package repository URLs used by rdocdump when fetching package sources. May be useful for setting custom repositories or mirrors. This does not affect the repositories used by install.packages() in your current R session and/or project.

Usage

rdd_set_repos(repos)

Value

Invisibly returns the new repository URLs.

Arguments

repos

A character vector of repository URLs.

Examples

Run this code
# Set rdocdump repository options
rdd_set_repos(c("CRAN" = "https://cloud.r-project.org"))

Run the code above in your browser using DataLab