Skip to content

Error in force(expr) : Failed to generate output in 30 seconds (timeout). #56

Open
@jorgesinval

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 ... doneRendering example.html into example.pdf ... done

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions