Skip to content

Commit

Permalink
fix #97 replace xml_find_one with xml_find_first
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Sep 22, 2017
1 parent d9fb8f3 commit 68c4be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ncbi_byid.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ncbi_byid <- function(ids, format=NULL, verbose=TRUE) {
}

xml_helper <- function(y, string) {
xml2::xml_text(xml2::xml_find_one(y, string))
xml2::xml_text(xml2::xml_find_first(y, string))
}

x <- paste(ids, collapse = ",")
Expand Down

0 comments on commit 68c4be2

Please # to comment.