Skip to content

Commit 24d38a9

Browse files
committed
Switch back to doi.org in GetBibEntryWithDOI; #90
1 parent b4e2283 commit 24d38a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: RefManageR
2-
Version: 1.3.4
2+
Version: 1.3.5
33
Title: Straightforward 'BibTeX' and 'BibLaTeX' Bibliography Management
44
Authors@R: person(c("Mathew", "W."), "McLean", role = c("aut", "cre"),
55
email = "[email protected]",

R/GetBibEntryWithDOI.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ GetBibEntryWithDOI <- function(doi, temp.file=tempfile(fileext = '.bib'),
3636
on.exit(if (delete.file && file.exists(temp.file)) file.remove(temp.file))
3737
successes <- logical(length(doi))
3838
for (i in seq_along(doi)){
39-
temp <- GET(modify_url('https://data.crossref.org/', path = doi[i]),
39+
temp <- GET(modify_url('https://doi.org/', path = doi[i]),
4040
config = list(followlocation = TRUE),
4141
add_headers(Accept = "application/x-bibtex"))
4242
if (!http_error(temp)){

0 commit comments

Comments
 (0)