Skip to content

Commit

Permalink
Merge pull request #129 from mmcgowan13/patch-1
Browse files Browse the repository at this point in the history
Remove outdated CRANextra repo
  • Loading branch information
Dasonk authored May 15, 2020
2 parents fc09ccd + d328a24 commit ace0936
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Authors@R: c(person("Tyler", "Rinker", role = c("aut", "cre", "ctb"),
c("ctb")), person("Albert", "Wang", role = c("ctb")),
person("Garrick", "Aden-Buie", role = c("ctb")),
person("Albert", "Wang", role = c("ctb")),
person("Lukas", "Burk", role = c("ctb")))
person("Lukas", "Burk", role = c("ctb")),
person("Michael", "McGowan", role=c("ctb")))
Depends: R (>= 3.5.0)
Imports: remotes, methods, stats, utils
Suggests: BiocManager, knitr, lattice, testthat (>= 0.9.0), XML
Expand Down
10 changes: 1 addition & 9 deletions R/p_set_cranrepo.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,4 @@ p_set_cranrepo <- function(default_repo = "http://cran.rstudio.com/"){
if(length(repos) == 0){
options(repos = default_repo)
}

# Add ripley's repos on windows
if(p_detectOS() == "Windows"){
if(is.na(options()$repo["CRANextra"])){
options(repos = c(options()$repos,
CRANextra = "http://www.stats.ox.ac.uk/pub/RWin"))
}
}
}
}

0 comments on commit ace0936

Please sign in to comment.