Skip to content

Commit

Permalink
Move to remotes::install_github soon.
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Aug 24, 2017
1 parent 61c2cf2 commit 631849f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/install_remotes_no_dep.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
#' @param ... arguments to pass to install_github
#' @return Character vector of remotes
#'
#' @importFrom devtools install_github
#' @return Output of \code{\link{install_github}}, indicator
#' of TRUE/FALSE for installation
#' @export
#'
#' @examples \dontrun{
#' install_remotes_no_dep()
#' }
#' @importFrom devtools install_github
install_remotes_no_dep = function(
path = "DESCRIPTION",
package = NULL,
Expand Down Expand Up @@ -49,7 +49,7 @@ install_remotes_no_dep = function(
verbose = verbose)
}
remotes = remotes[ !(remotes %in% "") ]
res = sapply(remotes, devtools::install_github,
res = sapply(remotes, install_github,
auth_token = github_pat(quiet = TRUE),
upgrade_dependencies = FALSE, ...)
names(res) = remotes
Expand Down

0 comments on commit 631849f

Please sign in to comment.