Skip to content

Commit e93a63b

Browse files
committed
Switch ReadCrossRef back to doi.org for DOIS #90
1 parent adf8696 commit e93a63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/ReadCrossRef.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ ReadCrossRef <- function(query = "", filter = list(), limit = 5, offset = 0,
124124
## if query is valid doi, skip search and get BibTeX entry right away
125125
if (nzchar(.doi <- SearchDOIText(query))){
126126
num.res <- 1
127-
bad <- GetCrossRefBibTeX(paste0("https://data.crossref.org/", .doi), temp.file)
127+
bad <- GetCrossRefBibTeX(paste0("https://doi.org/", .doi), temp.file)
128128
}else{
129129
if (use.old.api){
130130
if (.is_not_nonempty_text(query))

0 commit comments

Comments
 (0)