-
Notifications
You must be signed in to change notification settings - Fork 519
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
JSS article throw error upon knitting #329
Comments
I can reproduce this locally, but it is not happening on travis. I wonder why. 🤔 |
Ok I was able to find out that this works with an old version of texlive but does not work with the last texlive version installed with |
I see, let me try it out with a previous texlive version. Which version did you try? |
I am currently on tlmgr revision 56458 (2020-09-28 00:20:18 +0200) |
That's odd, I have the same revision/time number and I can't make this work:
|
Oh yeah sorry. I can't make this work with this one. |
Ok I took advantage of TinyTeX new versioned released
Not yet sure what happens between both... |
I can reproduce this. Version |
Hi! (specially to @cderv as is the second time I run into him today haha) I'm getting the same error in RStudio Cloud and it does not go anywhere after I do |
@noeliarico I don't know why this is difference in RStudio Cloud. I just tested and indeed 2020.09.19 is not working on RStudio cloud. 🤷♂️ This is an odd issue, I am a bit short now - I leave @yihui throw some ideas for this. Anyway, if I come up with something I'll post here. |
For what it's worth. I had a working system, issued |
Thanks for sharing.
Regarding this, yes this is something happening (like a conflict) with the |
Saw a warning on line 466 of |
Just to add another data point, I was also able to fix the issue by following the advice from @cderv to install a previous release of TinyTeX. Error message:
Initial texlive version:
Solution:
Note that during the reinstallation, it ran
Thus I have to admit it's unclear to me how this fixed the problem, but it did. System information:
|
I guess a recent update of a certain LaTeX package broke it (but I don't know which). The breakage shouldn't be due to To figure out which package(s) broke it, we need to compare the output of tinytex::tlmgr('info --list --only-installed --data name,cat-version') between TinyTeX 2020.09.19 and 2020.10. You can paste the output to https://www.diffchecker.com and find the diffs. After we identify the possible culprit, we may need to contact the author of the package. Another possible way to go is to check if I don't have time for these tasks myself, so will appreciate it if someone could help out. Thanks! |
To further pin down the offending LaTeX package, you may try to install TinyTeX built between 2020.09.19 and 2020.10.04 The daily builds can be found at https://ci.appveyor.com/project/yihui/tinytex/history. Go to the Artifacts tab and download You can manually bisect these daily builds until you find the day when it was broken. This may be time-consuming, though (with 15 daily builds, I think you need to bisect 3 times). |
Thanks for the hints @yihui ! That will definitly be helpful. Also for everyone wanted to help:
We have version 3.0 from 2015 but I tested again the last one (version 3.1 from 2020/08/03) and we get the same result. So once we find the culprit, there may be a fix to push into |
OK I found the culprit. Not a small one ! I followed the advice on looking at the diff of the result of tinytex::tlmgr('info --list --only-installed --data "name,cat-version"') There was a few packages so I decide to test by installing them one by one starting with the more obvious one: latex
tinytex::install_tinytex(version = "2020.09.19")
tinytex::tlmgr_update(all = FALSE, self = FALSE, "latex")
There has been an update of latex package on CTAN on the 01/10/2020: https://www.latex-project.org/news/2020/10/01/issue32-of-latex2e-released/ So I guess this is the If someone want to look deeper from here on what has changed, please do ! Hope it helps. |
…ntly faster than downloading the prebuilt version), and install a specific version for now to fix the problems with jss (#329)
Hi @cimentadaj , @jdblischak , @noeliarico , @stefvanbuuren We fixed the issue with template by pinning down the version of the problematic package. It is not perfect but at least it will now render. You need to install the last rticles version from github. There was another issue with the Has one of you already email the JSS editors regarding this issue ? |
Just sent a note to Achim Zeileis. |
Thanks for the pointer! I don't get the problem with my system TeXLive (I'm on Debian testing with tlmgr revision 56372), yet, but I guess it should arrive soon enough. I didn't have the time/resources to install a separate TinyTeX version so will have to wait with debugging the issue. Or did anyone find out already what exactly caused the problem? This isn't clear to me from the above discussion. Further pointers would be much appreciated. P.S.: I'm using this GitHub account now for which I do get notifications. |
@zeileis Yes, @cderv found out a fix: https://github.com/rstudio/rticles/pull/337/files I'm not sure if it's the best solution, though. |
@zeileis We isolate the issue to this specific package The current workaround is to pin down the version in the template. This was also the workaround for this other issue (#331) where Copernicus Journal editor seems to work on a fix (#331 (comment)) I do not know what exactly is causing the issue with the new version but I believe this is something to do with the use of |
Thank you @yihui and @cderv for the follow-up. I understood that your fix is to not use the latest version - but ideally I would want to provide a I took some time today to investigate this issue further and can confirm that it is indeed related to
Note the What I still need to find out is which part of the I'll let you know if I find out more about this. Thanks again for your work/insights regarding this issue! |
OK, I think I have a better solution, albeit possibly still not ideal. When I replace the line from
with
then it appears to work for both old and new LaTeX versions. Does anyone here know whether this is a good/reliable way of checking for the availability of |
Just for the record: The fix posted above has now been officially released as version 3.2 of wch/r-source@3d68934#diff-40d315f66f364ab42b39fbf99b30ddebea15425296b4c844827d478059fe061b |
That is great ! I'll do that ! |
|
Perfect, thanks a lot for the rapid update! |
This fixes matthias-da#2. Solution adapted from rstudio/rticles#329.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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. |
By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.
I'm trying to knit a fresh template of JSS and I get a
LaTeX
error. I remember knitting this template a few months ago and everything was fine. Here's the template:I saved that as
jss.Rmd
and here's the output:I saw that this error could be related to the email field but this is the default template from RStudio for JSS, so I don't understand where this is happening. Just in case, I removed the email field and searched for any hyperlinks and can't find where this error is coming from.
Here's the session info for
rticles
:I have the latest
tinytex
installation as well. I also tried running other articles (JOSS) and everything works fine.The text was updated successfully, but these errors were encountered: