ropensci / refsplitr

R package for processing, organizing, and visualizing reference records downloaded from the Web of Science.
https://docs.ropensci.org/refsplitr
Other
55 stars 6 forks source link

authors_clean() issue #44

Closed aurielfournier closed 6 years ago

aurielfournier commented 6 years ago

I am not sure what I did, I apologize @birderboone , but authors_clean() is not working now, on any dataset.

I've narrowed it down to line 372.

dd<-data.frame(g.n=unique(paste(remain$first,remain$middle,remain$last,sep=';')),
+                  first=NA,
+                  middle=NA,
+                  last=NA,
+                  stringsAsFactors=F)
Error in data.frame(g.n = unique(paste(remain$first, remain$middle, remain$last,  : 
  arguments imply differing number of rows: 0, 1
birderboone commented 6 years ago

Hey I fixed it with magic!