Skip to content

Commit 44800b6

Browse files
committed
null2na for general user name, email
1 parent afab229 commit 44800b6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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.016
3+
Version: 0.1.3.017
44
Authors@R:
55
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265"))

R/data-gh-user.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ gh_user_general_internal <- function (login = "",
5252

5353
user_dat <- data.frame (
5454
login = user$login,
55-
name = user$name,
56-
email = user$email,
55+
name = null2na_char (user$name),
56+
email = null2na_char (user$email),
5757
location = null2na_char (user$location),
5858
company = null2na_char (user$company),
5959
bio = null2na_char (user$bio),

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.016",
11+
"version": "0.1.3.017",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

0 commit comments

Comments
 (0)