diff --git a/R/build_publication_items.R b/R/build_publication_items.R index 56ab254..398de51 100644 --- a/R/build_publication_items.R +++ b/R/build_publication_items.R @@ -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) @@ -28,7 +29,8 @@ build_publication_items <- function(var_citation, var_doi){ "doi" = .x, "citation" = .y) ) + } return(t) - } + #} }