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.
It seems that both
xdg-openon Linux, bothcmdfails on Windows when trying to open a file which have a space in its name while exporting a document. E.g. on Linux:Update: it's not an opening issue, as I've checked the sources in
createreport, as it is usingshQuotethere.The problem is that the pandoc/asciidoc/other backend fails to find the file to convert from - despite the fact that
asciicould generate thetxtfile on the disk. So IMHO anshQuoteshould be added to the file name in the backend calls.