Rapporter / pander

An R Pandoc Writer: Convert arbitrary R objects into markdown
http://rapporter.github.io/pander/
Open Software License 3.0
294 stars 66 forks source link

errors with relative paths #308

Open benwhalley opened 7 years ago

benwhalley commented 7 years ago

If I run the following:

#call 1
Pandoc.brew(text = "# heading \n text" , output = "fileinsamdir.rtf", convert = 'rtf')

#call 2
Pandoc.brew(text = "# heading \n text" , output = "tables/fileindiffdir.rtf", convert = 'rtf')

The first call works fine.

The second creates a file in 'tables/' but this file contains only the markdown string, and is not converted to rtf (same for docx). Additionally, there is an error displayed: pandoc: tables/fileindiffdir.rtf: openFile: does not exist (No such file or directory).