Skip to content

Commit

Permalink
include 'English' as language for editors; closes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Apr 25, 2024
1 parent c01cf9d commit 50dc44e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashboard
Title: What the Package Does (One Line, Title Case)
Version: 0.1.9.001
Version: 0.1.9.002
Authors@R:
person(given = "First",
family = "Last",
Expand Down
9 changes: 5 additions & 4 deletions R/editors-airtable.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ add_editor_airtable_data <- function (editors) {
editors$other_langs <- editors$domain_expertise <- NA_character_
index <- match (editors$editor, rev_prod$github)

editors$other_langs <- rev_prod$other_langs [index]
editors$other_langs <- vapply (editors$other_langs, function (i) {
paste0 (i [which (!i == "English")], collapse = ", ")
}, character (1L))
editors$other_langs <- vapply (
rev_prod$other_langs [index],
function (i) paste0 (unlist (i), collapse = ", "),
character (1L)
)

editors$domain_expertise <- rev_prod$domain_expertise [index]
editors$domain_expertise <- vapply (editors$domain_expertise, function (i) {
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.001",
"version": "0.1.9.002",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 50dc44e

Please sign in to comment.