Description Usage Arguments See Also Examples
Builds full repository URLs based on shortcut repository keys and host names, adding credentials if necessary.
| 1 | 
| repos | character vector of repository specifications, either a full URLs,
e.g.,  | 
| ... | other repository specification appended to  | 
| .netrc | path or connection to a netrc file, which is looked up for
matching repository/host entries.
Default is to look for file  Repository and host credential entries are defined in an netrc file format (see  Repository shortcut keys start a  Regular hosts are also matched against the netrc specification to add credentials if necessary. | 
Other auth: read_netrc,
repos_auth
| 1 2 3 4 5 6 7 8 9 10 11 12 | # appending to default repos
repos_url('+')
repos_url('+http://another.repo.org')
# using toy example
f <- system.file('netrc', package = 'repotools')
if( interactive() ) file.show(f) else cat(readLines(f), sep = "\n")
# test different substitutions
spec <- c('@myRepo', '@myRepo/extra/path', 'http://www.public.org'
				, 'http://www.privatehost.org/repo/dir', '@CRAN@')
cbind(Specification = spec, URL = repos_url(spec, .netrc = f))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.