Skip to content

Commit

Permalink
Merge pull request #297 from ropensci/style_pkg
Browse files Browse the repository at this point in the history
Style package
  • Loading branch information
b-rodrigues authored Sep 15, 2024
2 parents 17217cb + 4655d5e commit feeff85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/fetchers.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,8 @@ fetchgits <- function(git_pkgs) {
if (!all(vapply(git_pkgs, is.list, logical(1)))) {
fetchgit(git_pkgs)
} else if (all(vapply(git_pkgs, is.list, logical(1)))) {

# Re-order list of git packages by "package name"
git_pkgs <- git_pkgs[order(sapply(git_pkgs,'[[',"package_name"))]
git_pkgs <- git_pkgs[order(sapply(git_pkgs, "[[", "package_name"))]

paste(lapply(git_pkgs, fetchgit), collapse = "\n")
} else {
Expand Down

0 comments on commit feeff85

Please sign in to comment.