vim-pandoc/vim-rmarkdown

Output is written to home directory

ptr-64 opened this issue · 0 comments

Hello, I hope I didn't ignore any issues template (I couldn't find one on the repo). The plugin works beautifully except when I want to compile the Rmd file, the output is written to my home directory(~/) instead of my work directory.

Reproduction Steps

Write/ save the rmarkdown file and run :RMarkdown

Expected Behavior

Find the .html in my work folder

Actual Behavior

Nothing in my work folder other than the rmarkdown file, and the output (.pdf, or html) shows up in my home directory.

Vim version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Aug 15 2020 08:25:34)
Included patches: 1-1456
Compiled by Arch Linux

OS

Manjaro Linux Gnome Edition
Kernel: 5.7.15-1
Gnome: 3.36.5

PS: I can just open another terminal and use rmarkdown::render("<input>", "<output>_document") so this is not a high priority issue. I was just wondering if I broke something on my end possibly.

Thanks