mbrepo: Get current URL to my R packages repository

Description Usage Arguments Details Value Examples

View source: R/mbrepo.R

Description

Returns a valid URL to my package repository.

Usage

1
mbrepo(loc = c("3e", "icm"))

Arguments

loc

character, name of location

Details

Because I was migrating quite a bit recently this function, when called with the default value of loc, should give the current and valid address to my R package repository. If the default value is not working alternative locations can be tried.

Value

Character scalar with the URL to the top dir of my R package repository. Can be used with download.packages, install.packages and alike.

Examples

1
2
3
4
## Not run: 
available.packages(contrib.url(mbrepo()))

## End(Not run)

mbojan/mbtools documentation built on Nov. 9, 2017, 3:21 p.m.