Description Usage Arguments Examples
contrib.url A generic for contrib.url so that available.packages et al can interact with GRANRepository objects.
1 2 3 4 5 | contrib.url(repos, type = getOption("pkgType"))
## S4 method for signature 'GRANRepository'
contrib.url(repos,
type = getOption("pkgType"))
|
repos |
A repository to extract the contrib url from |
type |
The type of package repository it is |
1 2 | repo = GRANRepository(GithubManifest("gmbecker/fastdigest"), basedir = tempdir())
contrib.url(repo)
|
Loading required package: switchr
Attaching package: 'GRANCore'
The following object is masked from 'package:utils':
available.packages
Warning: failed to download mirrors file (cannot open URL 'https://cran.r-project.org/CRAN_mirrors.csv'); using local file '/usr/share/R/doc/CRAN_mirrors.csv'
Warning messages:
1: In download.file(url, destfile = f, quiet = TRUE) :
URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was 'Couldn't resolve host name'
2: In read.dcf(con) :
URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'
[1] "file:///work/tmp/tmp/RtmpmcoEVz/current/src/contrib"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.