Skip to content

[setup-r] Ghostscript and/or qpdf installation error on Windows #812

@MichaelChirico

Description

@MichaelChirico

I am trying to activate a Windows runner for data.table (Rdatatable/data.table#6022) but 2 of 3 runs I've tried so far failed at the setup-r phase (example failure; associated config):

Error: Failed to get R release: Failed to get qpdf and ghostscript in 10 tries :(

Poking around for how this error has been resolved elsewhere did not turn up much:

The only thing that sticks out to me as different for our setup vs. e.g. that of {lintr} which I'm more familiar with is this setup-pandoc step. And indeed after adding that step my pipeline passed, making me wonder if this step is recommended for Windows.

This is somewhere between a bug report and a documentation request -- if adding setup-pandoc is really the right fix, it would be nice for it to be documented somewhere; if this apparent relationship to setup-pandoc is spurious, it would be nice to get a recommended fix to stabilize the windows check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions