Skip to content

Commit

Permalink
Unprefix github.user because it is generic enough
Browse files Browse the repository at this point in the history
  • Loading branch information
jiho committed Jun 16, 2012
1 parent a970806 commit 61560cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/install-github.r
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.r
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 61560cc

Please sign in to comment.