Comments (1)
Thanks for reporting this issue with examples.
- The CDC protection was removed and an unnecessary comma was added.
It should be resolved by 3c61823.
- The curly brace in Br{\aa}dvik was removed.
The curly braces were removed by bibtex::read_bib()
:
> str(bibtex::read.bib("test.bib"))
List of 3
$ barabasi:1999 :Class 'bibentry' hidden list of 1
..$ barabasi:1999:List of 8
.. ..$ title : chr "Emergence of scaling in random networks"
.. ..$ author :List of 2
.. .. ..$ :Class 'person' hidden list of 1
.. .. .. ..$ :List of 5
.. .. .. .. ..$ given : chr "A.L."
.. .. .. .. ..$ family : chr "Barab'asi"
.. .. .. .. ..$ role : NULL
.. .. .. .. ..$ email : NULL
.. .. .. .. ..$ comment: NULL
.. .. ..$ :Class 'person' hidden list of 1
.. .. .. ..$ :List of 5
.. .. .. .. ..$ given : chr "R."
.. .. .. .. ..$ family : chr "Albert"
.. .. .. .. ..$ role : NULL
.. .. .. .. ..$ email : NULL
.. .. .. .. ..$ comment: NULL
.. .. ..- attr(*, "class")= chr "person"
.. ..$ journal : chr "science"
.. ..$ volume : chr "286"
.. ..$ number : chr "5439"
.. ..$ pages : chr "509--512"
.. ..$ year : chr "1999"
.. ..$ publisher: chr "American Association for the Advancement of Science"
.. ..- attr(*, "bibtype")= chr "Article"
.. ..- attr(*, "key")= chr "barabasi:1999"
$ CDC:2019 :Class 'bibentry' hidden list of 1
..$ CDC:2019:List of 7
.. ..$ author :Class 'person' hidden list of 1
.. .. ..$ :List of 5
.. .. .. ..$ given : NULL
.. .. .. ..$ family : chr "CDC"
.. .. .. ..$ role : NULL
.. .. .. ..$ email : NULL
.. .. .. ..$ comment: NULL
.. ..$ title : chr "{WISQARS} Leading Causes of Death Reports"
.. ..$ url : chr "https://webappa.cdc.gov/sasweb/ncipc/leadcause.html"
.. ..$ journal : chr "Centers for Disease Control and Prevention"
.. ..$ publisher: chr "Centers for Disease Control and Prevention"
.. ..$ year : chr "2021"
.. ..$ note : chr "Retrieved on April 24, 2021"
.. ..- attr(*, "bibtype")= chr "Misc"
.. ..- attr(*, "key")= chr "CDC:2019"
$ braadvik2018suicide:Class 'bibentry' hidden list of 1
..$ braadvik2018suicide:List of 4
.. ..$ title : chr "Suicide Risk and Mental Disorders"
.. ..$ author :Class 'person' hidden list of 1
.. .. ..$ :List of 5
.. .. .. ..$ given : chr "Louise"
.. .. .. ..$ family : chr "Br\\aadvik"
.. .. .. ..$ role : NULL
.. .. .. ..$ email : NULL
.. .. .. ..$ comment: NULL
.. ..$ year : chr "2018"
.. ..$ publisher: chr "Multidisciplinary Digital Publishing Institute"
.. ..- attr(*, "bibtype")= chr "Misc"
.. ..- attr(*, "key")= chr "braadvik2018suicide"
- attr(*, "class")= chr "bibentry"
- attr(*, "strings")= Named chr(0)
..- attr(*, "names")= chr(0)
It can be hard to recover them after removal. This part should probably be reported to https://github.com/ropensci/bibtex/issues/.
from formatbibtex.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formatbibtex.