vitae icon indicating copy to clipboard operation
vitae copied to clipboard

bibliography section page in vignette broken - how to work with .bib files now?

Open norcalbiostat opened this issue 2 years ago • 0 comments

I see that as of change 0.4.0 the way .bib files are imported has been completely rewritten. However the page in the vignette has not been updated. Since the resulting import object isn't a tibble, I can't figure out how to debug problems such as now when I import my .bib file i'm getting years that are like "2014-7". Below are two examples of errors i get when trying to explore this object.

When i View(pubs) I get

Error in `stop_vctrs()`:
! Can't convert <csl_dates> to <character>.

and

> table(pubs$issued)
, , .3 = list(list(2009)), .4 = list(list(2010)), .5 = list(list(2011)), .6 = list(list(2011)), .7 = list(list(2011)), .8 = list(list(2012)), .9 = list(list(2012)), .10 = list(list(2012)), .11 = list(list(2011)), .12 = list(list(2011)), .13 = list(list(2013)), .14 = list(list(2013, 4)), .15 = list(list(2014)), .16 = list(list(2014)), .17 = list(list(2017)), .18 = list(list(2017, 11)), .19 = list(list(2017)), .20 = list(list(2018)), .21 = list(list(2019, 7)), .22 = list(list(2019)), .23 = list(list(2020)), .24 = list(list(2010)), .25 = list(list(2013)), .26 = list(list(2014)), .27 = list(list(2012))

                  .2
.1                 list(list(2020))
  list(list(2013))                1

norcalbiostat avatar Jun 19 '22 18:06 norcalbiostat