Skip to content

Commit

Permalink
fix user_general fn when data missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Dec 10, 2024
1 parent c3455d7 commit f020bd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: repometrics
Title: Metrics for Your Code Repository
Version: 0.1.3.006
Version: 0.1.3.007
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
6 changes: 3 additions & 3 deletions R/data-gh-user.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ gh_user_general_internal <- function (login = "",
login = user$login,
name = user$name,
email = user$email,
location = user$location,
company = user$company,
bio = user$bio,
location = null2na_char (user$location),
company = null2na_char (user$company),
bio = null2na_char (user$bio),
avatarUrl = user$avatarUrl,
num_repositories = user$repositories$totalCount,
repos_contributed_to = user$repositoriesContributedTo$totalCount,
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/repometrics",
"issueTracker": "https://github.com/ropensci-review-tools/repometrics/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.3.006",
"version": "0.1.3.007",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit f020bd8

Please sign in to comment.