Browse files

Unprefix github.user because it is generic enough

  • Loading branch information...
1 parent a970806 commit 61560cc9bb85e133890d5e11319f7adea7ce8130 @jiho jiho committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 R/install-github.r
  2. +1 −1 R/zzz.r
View
2 R/install-github.r
@@ -14,7 +14,7 @@
#' \dontrun{
#' install_github("roxygen")
#' }
-install_github <- function(repo, username = getOption("devtools.github.user"), branch = "master", subdir = NULL, ...) {
+install_github <- function(repo, username = getOption("github.user"), branch = "master", subdir = NULL, ...) {
message("Installing github repo(s) ",
paste(repo, branch, sep = "/", collapse = ", "),
" from ",
View
2 R/zzz.r
@@ -68,7 +68,7 @@ current_ver <- function() {
op <- options()
op.devtools <- list(
devtools.path="~/R-dev",
- devtools.github.user="hadley"
+ github.user="hadley"
)
toset <- !(names(op.devtools) %in% names(op))
if(any(toset)) options(op.devtools[toset])

0 comments on commit 61560cc

Please sign in to comment.