Skip to content

Commit

Permalink
fix wrting library file
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiWaldrant committed Nov 22, 2024
1 parent efd99c1 commit 6700df0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion results/_include/_load_data.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ get_bibtex_from_doi <- function(dois) {
}
})
return(bibs)
return(unlist(bibs))
}
write_library <- function(library) {
Expand Down
4 changes: 2 additions & 2 deletions results/_include/_metric_descriptions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ lines <- pmap_chr(metric_info, function(metric_name, metric_summary, metric_desc
bibs <- c(bibs, references_bibtex)
}
# Write new entries to library.bib
write_library(bibs)
write_library(bibs)
# Get bibtex references
# Get bibtex references
if (!is.null(bibs)) {
ref <- get_bibtex_entries(bibs)
} else {
Expand Down

0 comments on commit 6700df0

Please sign in to comment.