-
Notifications
You must be signed in to change notification settings - Fork 17
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
Package babel Error: Unknown option french' or
english'
#257
Comments
Just a note that this babel error just popped up for me for the first time, but using the tinytex install lines you have here fixed it. Thanks. |
Yes, please do add to the install instructions. I was quite confused why my new install on my new computer (R4.4.1, Rtools44, new tinytex) wasn't working until I found this. Thanks! |
Done (new step 2) https://github.com/pbs-assess/csasdown/blob/main/README.md#initial-setup |
Perhaps we should check this on the fly and issue an informative message. E.g.: tinytex::check_installed("babel-french") The downside is this takes a second or two for me. Hopefully this will resolve itself upstream. |
another error that is seemingly related to failed dependencies, I didn't want to open another issue since this one is still opened Expected behavior Observed behavior
so something to do with references Platform and version:
Additional context: This type of error occurs when something unexpected happens in the LaTeX dependencies (also in issue #224). Is there a way to avoid this? In the meantime, how to troubleshoot this? The pandoc call is below.
this also breaks the unit testing when doing a build test @seananderson and @cgrandin, what would you suggest to troubleshoot this? |
@ricardd When I used tinytex, I would uninstall and reinstall tinytex to fix things like these. I would suggest that since it's faster than trying to debug the issue. First make sure you are actually using it: |
@cgrandin what I usually do is delete the folder where tinytex installs (in my case it's C:\Users\RicardD\AppData\Roaming\TinyTeX), I then go in RStudio and invoke tinytex to install again ( the first rendering after that takes a while since the required packages need to be reinstalled, but eventually it completes despite the reinstall, the error above persists |
For some reason, the current tinytex does not install the babel-french or babel-english packages when needed. This is a recent problem as far as I can tell. Users can fix this by running
I don't know if this will resolve itself or if we should note this in the install instructions, but at the very least I'm noting this here in case someone is searching for this error.
We even have to do this on the continuous integration script:
csasdown/.github/workflows/R-CMD-check.yaml
Lines 74 to 75 in 10739cc
The text was updated successfully, but these errors were encountered: