Permalink
Browse files

install_bitbucket: make sure repo name is lowercase

  • Loading branch information...
1 parent be1017c commit 14e0631dce58e5b64d01dab08a6c27631b577043 @wch wch committed Dec 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/install-bitbucket.r
View
@@ -24,7 +24,7 @@ install_bitbucket <- function(repo, username, ref = "master", branch = NULL, ...
" from ",
paste(username, collapse = ", "))
- url <- paste("https://bitbucket.org/", username, "/", repo, "/get/",
+ url <- paste("https://bitbucket.org/", username, "/", tolower(repo), "/get/",
ref, ".zip", sep = "")
install_url(url, paste(ref, ".zip", sep = ""), ...)
}

0 comments on commit 14e0631

Please sign in to comment.