crsh / citr

RStudio Addin to Insert Markdown Citations
Other
407 stars 46 forks source link

Error in data.frame: arguments imply differing number of rows #92

Open jiangshiguo opened 1 year ago

jiangshiguo commented 1 year ago

I don't know if this is a bug.

Describe the bug I am using rmarkdown and citr with RStudio. When I connect citr with Zotero, it returns the following error message:

`citr:::insert_citation()

Listening on http://127.0.0.1:4713 Warning: Error in data.frame: arguments imply differing number of rows: 0, 1 73: stop 72: data.frame 71: bibtex::do_read_bib 70: RefManageR::ReadBib 69: import_bbt 68: load_betterbiblatex_bib 64: 48: bibliography 47: observe 46: 3: shiny::runApp 2: runGadget 1: citr:::insert_citation Warning: Error in data.frame: arguments imply differing number of rows: 0, 1 50: 49: stop 48: bibliography 47: observe 46: 3: shiny::runApp 2: runGadget 1: citr:::insert_citation Warning: Error in data.frame: arguments imply differing number of rows: 0, 1 108: 107: stop 106: bibliography 99: renderText 98: func 85: renderFunc 84: output$read_error 3: shiny::runApp 2: runGadget 1: citr:::insert_citation`

tombeesley commented 1 year ago

I am also getting this same issue

tombeesley commented 1 year ago

Restarting R and reloading Zotero seems to have fixed this for me.