Skip to content

Commit

Permalink
Merge pull request #103 from addelany/main
Browse files Browse the repository at this point in the history
make publicaiton an array
  • Loading branch information
addelany authored Jul 17, 2024
2 parents 0915d55 + fe9903f commit 984bab7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/build_publication_items.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
build_publication_items <- function(var_citation, var_doi){

if (is.null(var_citation) | is.null(var_doi)){
return(NULL)
t <- array()
#return(NULL)
}else{
doi_list <- c(catalog_config$citation_doi)
citation_list <- c(catalog_config$citation_text)
Expand All @@ -28,7 +29,8 @@ build_publication_items <- function(var_citation, var_doi){
"doi" = .x,
"citation" = .y)
)
}

return(t)
}
#}
}

0 comments on commit 984bab7

Please sign in to comment.