Skip to content

Commit fb07064

Browse files
Use toString, unique
1 parent 80981de commit fb07064

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/R-CMD-check-occasional.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
message("Will try and set TEST_DATA_TABLE_WITH_OTHER_PACKAGES=", as.character(run_other), " in R CMD check.")
118118
if (run_other) {
119119
desc = read.dcf("DESCRIPTION")
120-
desc[1, "Suggests"] = paste(c(desc[1, "Suggests"], other_pkgs), collapse = ", ")
120+
desc[1L, "Suggests"] = toString(unique(c(desc[1, "Suggests"], other_pkgs)))
121121
write.dcf(desc, "DESCRIPTION")
122122
}
123123
# IINM rcmdcheck isolates its env from the calling process', besides what's passed to env=

0 commit comments

Comments
 (0)