Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Jul 15, 2022
1 parent 59bb194 commit 5990d63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Imports:
jsonlite,
keyring,
rcrossref,
rplos
rplos,
stats
Suggests:
covr,
purrr,
Expand Down
2 changes: 1 addition & 1 deletion R/citation_search_plos.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ citation_search_plos <- function(identifiers) {
names(plos_results)[which(names(plos_results) == "title")] <-
"article_title"
plos_results <-
plos_results[complete.cases(plos_results),] # remove incomplete cases (NAs)
plos_results[stats::complete.cases(plos_results),] # remove incomplete cases (NAs)

return(plos_results)
}

0 comments on commit 5990d63

Please sign in to comment.