Error in force(expr) : Failed to generate output in 30 seconds (timeout).
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 178
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I try to render a simple xaringan presentation:
---
title: "Example"
output:
xaringan::moon_reader:
mathjax: "https://cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_HTMLorMML"
---
# Introduction
with the this code:
renderthis::to_pdf(from = "example.Rmd",
to = "example.pdf")
but I keep receiving an error:
(¬_¬)renderthis::to_pdf(from = "example.Rmd",
... to = "example.pdf")
✔ Rendering example.Rmd into example.html ... done
✖ Rendering example.html into example.pdf ... failed
Error in force(expr) : Failed to generate output in 30 seconds (timeout).
However, if I remove:
mathjax: "https://cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_HTMLorMML"
it works:
(¬_¬)renderthis::to_pdf(from = "example.Rmd",
... to = "example.pdf")
✔ Rendering example.Rmd into example.html ... done
✔ Rendering example.html into example.pdf ... done
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by running renderthis::to_pdf(from = "example.Rmd", to = "example.pdf") with the xaringan::moon_reader MathJax URL, then compare it with the working version without that setting. Done means example.Rmd renders to example.pdf successfully while retaining the configured MathJax URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100