From 8a3585ed0d72fbe0db6d1180cead46662aa0ebf3 Mon Sep 17 00:00:00 2001 From: mpadge Date: Thu, 25 Apr 2024 14:37:35 +0200 Subject: [PATCH] fix editor matching for languages #31 --- DESCRIPTION | 2 +- R/editors-airtable.R | 2 +- codemeta.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9b2d918..35448a0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: dashboard Title: What the Package Does (One Line, Title Case) -Version: 0.1.9.002 +Version: 0.1.9.003 Authors@R: person(given = "First", family = "Last", diff --git a/R/editors-airtable.R b/R/editors-airtable.R index 7339981..dfd29ce 100644 --- a/R/editors-airtable.R +++ b/R/editors-airtable.R @@ -83,7 +83,7 @@ add_editor_airtable_data <- function (editors) { rev_prod <- rev_prod$`reviewers-prod`$select_all (fields = fields) editors$other_langs <- editors$domain_expertise <- NA_character_ - index <- match (editors$editor, rev_prod$github) + index <- match (tolower (editors$editor), tolower (rev_prod$github)) editors$other_langs <- vapply ( rev_prod$other_langs [index], diff --git a/codemeta.json b/codemeta.json index f46bb64..ab481f6 100644 --- a/codemeta.json +++ b/codemeta.json @@ -6,7 +6,7 @@ "name": "dashboard: What the Package Does (One Line, Title Case)", "codeRepository": "https://github.com/ropensci-review-tools/dashboard", "license": "https://spdx.org/licenses/MIT", - "version": "0.1.9.002", + "version": "0.1.9.003", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",