Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakage caused by Pandoc 3.0.1 #2450

Closed
yihui opened this issue Feb 7, 2023 · 6 comments
Closed

Breakage caused by Pandoc 3.0.1 #2450

yihui opened this issue Feb 7, 2023 · 6 comments

Comments

@yihui
Copy link
Member

yihui commented Feb 7, 2023

I received an email from CRAN notifying me of breakage of several packages caused by Pandoc 3.0.1. It seems Pandoc 3.0.1 is having trouble with certain .bib files. A few examples:

GREMLINS

Problem: https://www.stats.ox.ac.uk/pub/bdr/M1mac/GREMLINS.out

https://github.com/GrossSBM/GREMLINS/blob/3fb0d3f213bae9c729a47b9437791ab2f6c14697/vignettes/biblio.bib#L97

ANOVAreplication

Problem: https://www.stats.ox.ac.uk/pub/bdr/M1mac/ANOVAreplication.out

I don't know what's wrong with this bib file: https://github.com/cran/ANOVAreplication/blob/master/vignettes/Library_Marielle.bib

Full list

package source problem
ANOVAreplication cran/ANOVAreplication https://www.stats.ox.ac.uk/pub/bdr/M1mac/ANOVAreplication.out
GREMLINS cran/GREMLINS https://www.stats.ox.ac.uk/pub/bdr/M1mac/GREMLINS.out
MLML2R cran/MLML2R https://www.stats.ox.ac.uk/pub/bdr/M1mac/MLML2R.out
MODIStsp cran/MODIStsp https://www.stats.ox.ac.uk/pub/bdr/M1mac/MODIStsp.out
MTA cran/MTA https://www.stats.ox.ac.uk/pub/bdr/M1mac/MTA.out
MatchIt cran/MatchIt https://www.stats.ox.ac.uk/pub/bdr/M1mac/MatchIt.out
RGCCA cran/RGCCA https://www.stats.ox.ac.uk/pub/bdr/M1mac/RGCCA.out
RGENERATEPREC cran/RGENERATEPREC https://www.stats.ox.ac.uk/pub/bdr/M1mac/RGENERATEPREC.out
RNeXML cran/RNeXML https://www.stats.ox.ac.uk/pub/bdr/M1mac/RNeXML.out
SourceSet cran/SourceSet https://www.stats.ox.ac.uk/pub/bdr/M1mac/SourceSet.out
TOSTER cran/TOSTER https://www.stats.ox.ac.uk/pub/bdr/M1mac/TOSTER.out
TreeSearch cran/TreeSearch https://www.stats.ox.ac.uk/pub/bdr/M1mac/TreeSearch.out
TrenchR cran/TrenchR https://www.stats.ox.ac.uk/pub/bdr/M1mac/TrenchR.out
bootf2 cran/bootf2 https://www.stats.ox.ac.uk/pub/bdr/M1mac/bootf2.out
breathtestcore cran/breathtestcore https://www.stats.ox.ac.uk/pub/bdr/M1mac/breathtestcore.out
codyn cran/codyn https://www.stats.ox.ac.uk/pub/bdr/M1mac/codyn.out
colorSpec cran/colorSpec https://www.stats.ox.ac.uk/pub/bdr/M1mac/colorSpec.out
colorspace cran/colorspace https://www.stats.ox.ac.uk/pub/bdr/M1mac/colorspace.out
cricketdata cran/cricketdata https://www.stats.ox.ac.uk/pub/bdr/M1mac/cricketdata.out
dogesr cran/dogesr https://www.stats.ox.ac.uk/pub/bdr/M1mac/dogesr.out
indicspecies cran/indicspecies https://www.stats.ox.ac.uk/pub/bdr/M1mac/indicspecies.out
itp cran/itp https://www.stats.ox.ac.uk/pub/bdr/M1mac/itp.out
lifecontingencies cran/lifecontingencies https://www.stats.ox.ac.uk/pub/bdr/M1mac/lifecontingencies.out
mable cran/mable https://www.stats.ox.ac.uk/pub/bdr/M1mac/mable.out
prevtoinc cran/prevtoinc https://www.stats.ox.ac.uk/pub/bdr/M1mac/prevtoinc.out
sylly cran/sylly https://www.stats.ox.ac.uk/pub/bdr/M1mac/sylly.out
vegclust cran/vegclust https://www.stats.ox.ac.uk/pub/bdr/M1mac/vegclust.out

Warnings

package source problem
MorphoTools2 cran/MorphoTools2 https://www.stats.ox.ac.uk/pub/bdr/M1mac/MorphoTools2.out
RFmerge cran/RFmerge https://www.stats.ox.ac.uk/pub/bdr/M1mac/RFmerge.out
VARMER cran/VARMER https://www.stats.ox.ac.uk/pub/bdr/M1mac/VARMER.out
VedicDateTime cran/VedicDateTime https://www.stats.ox.ac.uk/pub/bdr/M1mac/VedicDateTime.out
@yihui yihui changed the title Breakage caused by Pandoc 3.0 Breakage caused by Pandoc 3.0.1 Feb 7, 2023
@cderv cderv moved this from Next to Todo In Progress in R Markdown Team Projects Feb 7, 2023
@cderv
Copy link
Collaborator

cderv commented Feb 7, 2023

Related issue on Ubuntu in rticles so I don't think this is M1 or fedora only. They may have updated pandoc there only 🤔

See rstudio/rticles#516 - it could be a good way to look into that;

@yihui
Copy link
Member Author

yihui commented Feb 8, 2023

I've finally finished examining all packages above. The main problem has been fixed in pandoc nightly: jgm/pandoc#8604

For packages in the "Warnings" section above, the problems were caused by raw tex code and HTML tags in title/date fields in YAML. I've sent PRs to packages that can be found on Github:

@cderv
Copy link
Collaborator

cderv commented Feb 9, 2023

Awesome ! Thank you @yihui. I missed this Pandoc issue and fix. Hopefully they'll make a release.

@yihui
Copy link
Member Author

yihui commented Feb 10, 2023

They have released Pandoc 3.1: https://github.com/jgm/pandoc/releases/tag/3.1

@yihui
Copy link
Member Author

yihui commented Feb 14, 2023

All bibliography errors are gone. I have emailed the maintainers of the four packages in the Warnings section, so there is nothing left for us to do now.

@yihui yihui closed this as completed Feb 14, 2023
@github-project-automation github-project-automation bot moved this from Todo In Progress to Done in R Markdown Team Projects Feb 14, 2023
@github-actions
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants