Skip to content

Commit

Permalink
namespace 'stats::ave' for #35
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed May 15, 2024
1 parent b56b008 commit 4330ba5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: allcontributors
Title: Acknowledge all Contributors to a Project
Version: 0.1.1.013
Version: 0.1.1.014
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"))
Description: Acknowledge all contributors to a project via a single
Expand Down
2 changes: 1 addition & 1 deletion R/add-contributors.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ add_contributors <- function (repo = ".",
}))

combined_df <- do.call(rbind, all_repos[, 'ctbs'])
combined_df$contributions <- ave(combined_df$contributions, combined_df$login, FUN = sum)
combined_df$contributions <- stats::ave(combined_df$contributions, combined_df$login, FUN = sum)

# Remove duplicate rows
result <- combined_df[!duplicated(combined_df[c("logins")]), ]
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/ropenscilabs/allcontributors",
"issueTracker": "https://github.com/ropenscilabs/allcontributors/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.1.013",
"version": "0.1.1.014",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 4330ba5

Please sign in to comment.