File: mirrors.Rd

package info (click to toggle)
r-cran-pkgmaker 0.27-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,152 kB
  • sloc: sh: 13; makefile: 2
file content (44 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/packages.R
\name{setBiocMirror}
\alias{setBiocMirror}
\alias{getBiocMirror}
\alias{getBiocRepos}
\alias{setCRANMirror}
\title{Setting Mirrors and Repositories}
\usage{
setBiocMirror(url = "http://www.bioconductor.org", version = NULL,
  unique = TRUE)

getBiocMirror()

getBiocRepos(url = "http://www.bioconductor.org", version = NULL)

setCRANMirror(url = CRAN, unique = TRUE)
}
\arguments{
\item{url}{or Bioconductor mirror url}

\item{version}{version number}

\item{unique}{logical that indicate if duplicated urls or names should be
removed.}
}
\description{
\code{setBiocMirror} sets all Bioconductor repositories (software, data,
annotation, etc.).
so that they are directly available to \code{\link{install.packages}}.
It differs from \code{\link{chooseBioCmirror}} in that it effectively enables
the repositories.
}
\section{Functions}{
\itemize{
\item \code{getBiocMirror}: is a shortcut for \code{getOption('BioC_mirror')}, which
returns the current Bioconductor mirror as used by \code{biocLite}.

\item \code{getBiocRepos}: returns urls to all Bioconductor repositories on a
given mirror.

\item \code{setCRANMirror}: sets the preferred CRAN mirror.
}}