r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

pandoc on windows to old? #119

Closed ThierryO closed 5 months ago

ThierryO commented 2 years ago

Inspecting the raw log of this failed run on Windows (R-release and R-old-rel) I found the message below.

##[error]Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).

ThierryO commented 1 year ago

I'm still having this issue. See https://github.com/r-universe/inbo/actions/runs/3053299242

How can I make sure to install the required pandoc version?

ThierryO commented 1 year ago

Would adding SystemRequirements: Pandoc (>= 1.17.2) to the DESCRIPTION ensure that a sufficient version of pandoc is installed under Windows?

remlapmot commented 5 months ago

I am also having this problem.

This is with my co-authored package Statamarkdown included in my personal r-universe https://remlapmot.r-universe.dev/Statamarkdown.

It may also be because we have forgotten to include pandoc in the DESCRIPTION.

For my package only the Windows builds fail; whereas the macOS, Linux, and webassembly builds all pass.

The failing Windows builds are shown here https://github.com/r-universe/remlapmot/actions/runs/8128016826.

remlapmot commented 5 months ago

@jeroen would you have any insight into these failed jobs on Windows? It's a bit frustrating that they only fail on Windows and this package does build on CRAN without the pandoc min version in SystemRequirements.

jeroen commented 5 months ago

Thanks, I have now added pandoc to the standard Windows environment. Let me know if you run into any further problems.

remlapmot commented 5 months ago

Super - thanks so much