Is there a way to specify which siteRepos to use by default?
We have a few repositories local to our site where users can put packages.
However they are confused about this:
pkgs=c("localPackage1", "localPackage2") # will happily work
pkgs=c("localPackage1", "localPackage2")) # will fail miserably
siteRepos = siteRepos) # will happily work
Our global Rprofile looks a little like this:
# To have predefined variable that can be used later and during R sessions siteRepos = c( repo1= "http://server/repo1", repo2 = "http://server/repo2" ) # Make the siteRepos available by default options("repos" = c( CRAN="http://server/internal-cranmirror", siteRepos )) # Use internal bandwith so we save upstream a few bytes options("BioC_mirror" = "http://server/bioconductor")
The problem is I don't see a way to tell biocLite about these locations so users don't have to know about it. This also breaks the user experience when they create a package that is in our custom repositories and depends on packages from Bioconductor.
Is there any way to let
BiocInstaller::biocLite know about these repos, some option or other setting that will honor all the repos in