Skip to content

Commit

Permalink
Merge pull request #82 from addelany/main
Browse files Browse the repository at this point in the history
update null check
  • Loading branch information
addelany committed May 13, 2024
2 parents 7be308e + 5b1163c commit 2ecf882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build_publication_items.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

build_publication_items <- function(var_citation, var_doi){

if (is.null(var_citation) ! is.null(var_doi)){
if (is.null(var_citation) | is.null(var_doi)){
return(NULL)
}else{
doi_list <- c(catalog_config$citation_doi)
Expand Down

0 comments on commit 2ecf882

Please sign in to comment.