mjwestgate/revtools

Error in importing RDS after manipulating with "Include" or "Exclude" options

Closed this issue · 3 comments

My bibliography reads fine, but when I save an RDS from the shiny GUI after having selected articles to "include" or "exclude", and then try to re-import the RDS to start_review_window () I get the following error (the example is given when I had excluded one article):

Error in data.frame(id = rownames(dtm), label = info$label[which(x_keep)], :
arguments imply differing number of rows: 802, 801

I think it must be something to do with how the exclusions are coded? It is a frustrating error because it means I must manipulate my data in the one sitting to avoid repeats when using the GUI to interrogate the references.

Thanks,
KatB

Hi Kat,

Thanks for getting in touch! Sorry you're having trouble with revtools. I've had a quick look and can't duplicate your error with the datasets I've got here - would you mind sending me the file that you're having trouble with? Either the .rds or the initial file you imported from would probably be fine. Otherwise it's difficult to know precisely how to fix the problem.

Thanks,
Martin

OK, great! Thanks for getting in touch, and let me know if you spot any other bugs - it's always good to have feedback from new users! M