Skip to content

Commit 933d56d

Browse files
committed
Automatially add sysdeps names to topics
1 parent 63088bc commit 933d56d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/buildtools.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,9 @@ generate_metadata_files <- function(package, repo, subdir, outdir, pkgdir, git_u
899899
contents$golang <- jsonlite::unbox(TRUE)
900900
contents$topics <- unique(c(contents$topics, c("golang")))
901901
}
902+
if(length(sysdeps)){
903+
contents$topics <- unique(c(contents$topics, sysdeps$name))
904+
}
902905
contents$assets <- assets
903906
contents$homeurl <- jsonlite::unbox(homeurl)
904907
contents$realowner <- jsonlite::unbox(realowner)

0 commit comments

Comments
 (0)