Skip to content

Possible bug with files which have a space in their names #14

Description

@daroczig

It seems that both xdg-open on Linux, both cmd fails on Windows when trying to open a file which have a space in its name while exporting a document. E.g. on Linux:

createreport(head(esoph), file = '/tmp/foo bar.txt')

Update: it's not an opening issue, as I've checked the sources in createreport, as it is using shQuote there.
The problem is that the pandoc/asciidoc/other backend fails to find the file to convert from - despite the fact that ascii could generate the txt file on the disk. So IMHO an shQuote should be added to the file name in the backend calls.

Metadata

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