-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade testing suite to testthat 3 * Add testing for previous issues #45 * Add tests for standard bibtex entries As defined in BibTEX version 0.99b https://ctan.javinator9889.com/biblio/bibtex/base/btxdoc.pdf * Update actions * Add testing for examples * Add snapshots for examples read.bib This may fail on some platforms * Skip on non windows Possibly a character problem related with #20 and #43 * Not test on R 3.4 Some changes in default parsing (snapshot), but results are still ok * Add more tests * Try to increase coverage * One more tests for do_read_bib * Fix test for do_read_bib * Revert actions * Add devtools for testing * Add more tests * Add test for multiline string * Add non standard field names * Add myself as author * Move issues to inst/bib files * Refactor tests for avoiding cluttering
- Loading branch information
1 parent
1c0e12d
commit 05a401c
Showing
45 changed files
with
6,291 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ revdep | |
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^bibtex\.Rcheck$ | ||
^bibtex.*\.tar\.gz$ | ||
^bibtex.*\.tgz$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ src/*.so | |
src/*.dll | ||
bibtex.Rproj | ||
docs | ||
bibtex.Rcheck/ | ||
bibtex*.tar.gz | ||
bibtex*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@Article{newspaper, | ||
author = {Author Smith}, | ||
title = {Article title}, | ||
date = {2016-12-21}, | ||
journal = {Newspaper name}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@Article{newspaper, | ||
author = {{Herm{\`e}s International S.A.} and Katzfu{\ss}, Matthias}, | ||
title = {Article title}, | ||
date = {2016-12-21}, | ||
journal = {Newspaper name} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@Article{10.1371/journal.pone.0109458, | ||
author = {Liu, Yang-Yu AND Nacher, Jose C. AND Ochiai, Tomoshiro AND Martino, Mauro AND Altshuler, Yaniv}, | ||
journal = {PLOS ONE}, | ||
publisher = {Public Library of Science}, | ||
title = {Prospect Theory for Online Financial Trading}, | ||
year = {2014}, | ||
month = {10}, | ||
volume = {9}, | ||
url = {https://doi.org/10.1371/journal.pone.0109458}, | ||
pages = {1-7}, | ||
number = {10}, | ||
doi = {10.1371/journal.pone.0109458} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@article{Hawking1966, | ||
author = {Hawking, Stephen William and Bondi, Hermann }, | ||
title = {The occurrence of singularities in cosmology}, | ||
journal = {Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences}, | ||
volume = {294}, | ||
number = {1439}, | ||
pages = {511-521}, | ||
year = {1966}, | ||
doi = {10.1098/rspa.1966.0221}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@Article{newspaper, | ||
author = {Van Damme, Jean-Claude}, | ||
title = {Article title}, | ||
date = {2016-12-21}, | ||
journal = {Newspaper name}, | ||
year = {2016}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@Article{newspaper, | ||
author = {Jean-Claude {Van Damme}}, | ||
title = {Article title}, | ||
date = {2016-12-21}, | ||
journal = {Newspaper name}, | ||
year = {2016}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@Misc{key?, | ||
author = "Smith, Bob", | ||
title = "The Title", | ||
year = 2012 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@String{inst-CS-U-MARYLAND = "Department of Computer Science, | ||
University of Maryland"} | ||
|
||
|
||
@TechReport{Golub:1976:RDLb, | ||
author = "G. H. Golub and Virginia Klema and G. W. {Stewart | ||
III}", | ||
title = "Rank Degeneracy and Least Squares Problems", | ||
type = "Report", | ||
number = "TR-751", | ||
institution = inst-CS-U-MARYLAND, | ||
pages = "????", | ||
month = "????", | ||
year = "1976", | ||
bibdate = "Thu May 29 16:12:45 2014", | ||
bibsource = "http://www.math.utah.edu/pub/bibnet/authors/g/golub-gene-h.bib; | ||
http://www.math.utah.edu/pub/bibnet/authors/s/stewart-gilbert-w.bib", | ||
acknowledgement = ack-nhfb, | ||
GWSnumber = "N6", | ||
xxnote = "Check: is this the same as Golub:1976:RDLa? If so, | ||
which report number is correct??", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@String{{BAZ = "Foo Bar Baz" } | ||
|
||
@misc{murdoch:2009, | ||
author = "Duncan Murdoch", | ||
title = "Parsing Rd files", | ||
year = 2009, | ||
institution = BAZ, | ||
url = "http://developer.r-project.org/parseRd.pdf" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@misc{murdoch:2009, | ||
author = "Duncan Murdoch", | ||
title = "Parsing Rd files", | ||
year = 2009, | ||
url = "http://developer.r-project.org/parseRd.pdf" | ||
} | ||
|
||
|
||
@misc{murdoch:2010, | ||
author = "Duncan Murdoch", | ||
title = {"Parsing {Rd} files unbalanced", | ||
year = 2010, | ||
url = "http://developer.r-project.org/parseRd.pdf" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
% Copyright (C) 1988, 2010 Oren Patashnik. | ||
% Unlimited copying and redistribution of this file are permitted if it | ||
% is unmodified. Modifications (and their redistribution) are also | ||
% permitted, as long as the resulting file is renamed. | ||
% Source: https://tug.org/texmf-docs/bibtex/xampl.bib | ||
@ARTICLE{article-full, | ||
author = {L[eslie] A. Aamport}, | ||
title = {The Gnats and Gnus Document Preparation System}, | ||
journal = {\mbox{G-Animal's} Journal}, | ||
year = 1986, | ||
volume = 41, | ||
number = 7, | ||
pages = "73+", | ||
month = jul, | ||
note = "This is a full ARTICLE entry", | ||
} | ||
|
||
@BOOK{book-full, | ||
author = "Donald E. Knuth", | ||
title = "Seminumerical Algorithms", | ||
volume = 2, | ||
series = "The Art of Computer Programming", | ||
publisher = "Addison-Wesley", | ||
address = "Reading, Massachusetts", | ||
edition = "Second", | ||
month = "10~" # jan, | ||
year = "{\noopsort{1973c}}1981", | ||
note = "This is a full BOOK entry", | ||
} | ||
|
||
@BOOKLET{booklet-full, | ||
author = "Jill C. Knvth", | ||
title = "The Programming of Computer Art", | ||
howpublished = "Vernier Art Center", | ||
address = "Stanford, California", | ||
month = feb, | ||
year = 1988, | ||
note = "This is a full BOOKLET entry", | ||
} | ||
|
||
@CONFERENCE{conference-full, | ||
author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis", | ||
title = "On Notions of Information Transfer in {VLSI} Circuits", | ||
editor = "Wizard V. Oz and Mihalis Yannakakis", | ||
booktitle = "Proc. Fifteenth Annual ACM", | ||
number = 17, | ||
series = "All ACM Conferences", | ||
pages = "133--139", | ||
month = mar, | ||
year = 1983, | ||
address = "Boston", | ||
organization = ACM, | ||
publisher = "Academic Press", | ||
note = "This is a full CONFERENCE entry", | ||
} |
Oops, something went wrong.