Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using write_bibliography #29

Open
ellereve opened this issue May 8, 2020 · 2 comments
Open

Error using write_bibliography #29

ellereve opened this issue May 8, 2020 · 2 comments

Comments

@ellereve
Copy link

ellereve commented May 8, 2020

Hi,

I used read_bibliography to read in a RIS txt file and that went smoothly. I then made subsets of the data and tried to save each as a RIS file again, but I received the error:

Error in data.frame(tag = c("startpage", "endpage"), entry = page.sep,  : 
  arguments imply differing number of rows: 2, 3

I thought it was because of the colon, but I tried on a different subset with a note in the page numbers and it worked. The small RIS sample can be found here.

@mjwestgate
Copy link
Owner

Hi! This isn't fixed in revtools yet; but it should be fixed in synthesisr, which is the package that revtools will use for data import in future. If you import your files using synthesisr::read_refs instead of revtools::read_bibliography, then you can export using synthesisr::write_refs without getting this error.

@ellereve
Copy link
Author

Good to know. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants