Skip to content

Commit

Permalink
explicit utils:: for citation and toBibtex
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov committed Jan 28, 2025
1 parent 6816996 commit 1138915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/cite.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spod_cite <- function(
format <- setdiff(format, "all")

# 4. Get the citation object
cit <- citation("spanishoddata")
cit <- utils::citation("spanishoddata")

# 5. Function to get citation by key
get_citation_by_key <- function(key) {
Expand Down Expand Up @@ -124,7 +124,7 @@ spod_cite <- function(
} else if (f == "bibtex") {
cat("\nBibTeX citations:\n-----------------\n")
for (cit_item in citations_to_show) {
print(toBibtex(cit_item))
print(utils::toBibtex(cit_item))
cat("\n")
}
}
Expand Down

0 comments on commit 1138915

Please sign in to comment.