Skip to content

Commit 4330ba5

Browse files
committed
namespace 'stats::ave' for #35
1 parent b56b008 commit 4330ba5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: allcontributors
22
Title: Acknowledge all Contributors to a Project
3-
Version: 0.1.1.013
3+
Version: 0.1.1.014
44
Authors@R:
55
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"))
66
Description: Acknowledge all contributors to a project via a single

R/add-contributors.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ add_contributors <- function (repo = ".",
101101
}))
102102

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

106106
# Remove duplicate rows
107107
result <- combined_df[!duplicated(combined_df[c("logins")]), ]

codemeta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"codeRepository": "https://github.com/ropenscilabs/allcontributors",
88
"issueTracker": "https://github.com/ropenscilabs/allcontributors/issues",
99
"license": "https://spdx.org/licenses/GPL-3.0",
10-
"version": "0.1.1.013",
10+
"version": "0.1.1.014",
1111
"programmingLanguage": {
1212
"@type": "ComputerLanguage",
1313
"name": "R",

0 commit comments

Comments
 (0)