diff --git a/DESCRIPTION b/DESCRIPTION index 10df35b..8d2e067 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: repometrics Title: Metrics for Your Code Repository -Version: 0.1.3.017 +Version: 0.1.3.018 Authors@R: person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2172-5265")) diff --git a/R/data-gh-user.R b/R/data-gh-user.R index a9d3a59..d528631 100644 --- a/R/data-gh-user.R +++ b/R/data-gh-user.R @@ -57,10 +57,10 @@ gh_user_general_internal <- function (login = "", 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, - num_starred_repos = user$starredRepositories$totalCount + avatarUrl = null2na_char (user$avatarUrl), + num_repositories = null2na_int (user$repositories$totalCount), + repos_contributed_to = null2na_int (user$repositoriesContributedTo$totalCount), + num_starred_repos = null2na_int (user$starredRepositories$totalCount) ) orgs <- user$organizations$nodes diff --git a/codemeta.json b/codemeta.json index de80ab9..b59931c 100644 --- a/codemeta.json +++ b/codemeta.json @@ -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.017", + "version": "0.1.3.018", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",