Skip to content

Commit ab48e65

Browse files
committed
suppress no visible binding notes
1 parent ba5c8f1 commit ab48e65

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: repometrics
22
Title: Metrics for Your Code Repository
3-
Version: 0.1.3.057
3+
Version: 0.1.3.058
44
Authors@R:
55
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265"))

R/quarto-dashboard.R

+6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ repometrics_dashboard <- function (data_repo, data_users, action = "preview") {
5050
# `range[1]` are removed.
5151
get_user_network <- function (data_repo, data_users, range = c (1, 20)) {
5252

53+
# Suppress no visible binding notes:
54+
repo <- num_commits <- user <- value <- target <- NULL
55+
5356
rels <- user_relation_matrices (data_users)
5457
index <- which (!grepl ("^login", names (rels)))
5558
relmat <- apply (as.matrix (rels [, index]), 2, function (i) i / sum (i))
@@ -133,6 +136,9 @@ get_user_network <- function (data_repo, data_users, range = c (1, 20)) {
133136

134137
get_user_repo_network <- function (data_users, rm_personal = TRUE, range = c (1, 20)) {
135138

139+
# Suppress no visible binding notes:
140+
repo <- num_commits <- user <- repo <- NULL
141+
136142
commits_users <- lapply (data_users, function (i) {
137143
dplyr::group_by (i$commits, repo) |>
138144
dplyr::summarise (num_commits = sum (num_commits)) |>

codemeta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/ropensci-review-tools/repometrics",
99
"issueTracker": "https://github.com/ropensci-review-tools/repometrics/issues",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "0.1.3.057",
11+
"version": "0.1.3.058",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

0 commit comments

Comments
 (0)