Skip to content

Commit

Permalink
use new url for MRAN (fix #104)
Browse files Browse the repository at this point in the history
use cran.microsoft.com instead of mran.microsoft.com for MRAN url
  • Loading branch information
achubaty committed Nov 15, 2017
1 parent 503c5e4 commit 7a73422
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
miniCRAN v0.2.10.9000
=====================

New features:
* NULL

Bug fixes:
* use cran.microsoft.com instead of mran.microsoft.com for MRAN url (#104)

Other improvements:
* NULL


miniCRAN v0.2.10 (Release date: 2017-10-21)
================

New features:
New features:
* Added package option `minicran.mran` which sets default preferred MRAN url (#72)

Bug fixes:
Expand Down
4 changes: 2 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

.onLoad <- function(libname, pkgname) {
mran.url <- if (getRversion() >= "3.2.2") {
"https://mran.microsoft.com" ## use HTTPS
"https://cran.microsoft.com" ## use HTTPS
} else {
"http://mran.microsoft.com" ## use HTTP
"http://cran.microsoft.com" ## use HTTP
}

## set options using the approach used by devtools
Expand Down

0 comments on commit 7a73422

Please sign in to comment.