From 864d83260d103ca5cbc7269c56ef66b2f8be11ec Mon Sep 17 00:00:00 2001 From: mpadge Date: Wed, 15 May 2024 14:15:00 +0200 Subject: [PATCH] pass 'check_urls' param from #38 to new fns from #35 --- DESCRIPTION | 2 +- R/add-contributors.R | 18 ++++++++++-------- codemeta.json | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 46617ac..fbf1e8e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: allcontributors Title: Acknowledge all Contributors to a Project -Version: 0.1.1.015 +Version: 0.1.1.016 Authors@R: person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre")) Description: Acknowledge all contributors to a project via a single diff --git a/R/add-contributors.R b/R/add-contributors.R index c815c96..9729b8d 100644 --- a/R/add-contributors.R +++ b/R/add-contributors.R @@ -88,14 +88,15 @@ add_contributors <- function (repo = ".", all_repos <- do.call (rbind, lapply (repo, function (rep) { one_repo <- get_contributors_one_repo ( repo = rep, - type, - exclude_label, - exclude_issues, - exclude_not_planned, - num_sections, - section_names, - format, - alphabetical + type = type, + exclude_label = exclude_label, + exclude_issues = exclude_issues, + exclude_not_planned = exclude_not_planned, + num_sections = num_sections, + section_names = section_names, + format = format, + check_urls = check_urls, + alphabetical = alphabetical ) return (one_repo) @@ -123,6 +124,7 @@ get_contributors_one_repo <- function (repo, num_sections, section_names, format, + check_urls, alphabetical) { if (!in_git_repository (repo)) { stop ("The path [", repo, "] does not appear to be a git repository") diff --git a/codemeta.json b/codemeta.json index 2c2d8e7..bcca609 100644 --- a/codemeta.json +++ b/codemeta.json @@ -7,7 +7,7 @@ "codeRepository": "https://github.com/ropenscilabs/allcontributors", "issueTracker": "https://github.com/ropenscilabs/allcontributors/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.1.1.015", + "version": "0.1.1.016", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",