You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parse_bibtex appears to attempt to skip entries with fewer than 4 lines. However, it does not do so successfully, so that the following import breaks. Possibly, it should if such entries are deemed to be invalid - but then an explicit error message would be helpful.
library(synthesisr)
bib<-"@article{5, author = {Altman, Irwin and Haythorn, William}, title = {The Effects of Social Isolation and Group Composition on Performance}, journal = {Human Relations}, publisher = {SAGE Publications}, date = {1967-11}, year = {1967}, month = {11}, pages = {313-340}, volume = {20}, number = {4}, doi = {10.1177/001872676702000401}}@misc{6, author = {Williams, Katherine and Reilly, Charles and Ill}}"t<- tempfile(fileext=".bib")
writeLines(bib, t)
res<- read_ref(t)
#> Error in names(x_final) <- ref_names: 'names' attribute [2] must be the same length as the vector [1]
parse_bibtex appears to attempt to skip entries with fewer than 4 lines. However, it does not do so successfully, so that the following import breaks. Possibly, it should if such entries are deemed to be invalid - but then an explicit error message would be helpful.
Created on 2023-01-26 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: