jennybc/here_here

here package does not work in Rmarkdown if {r, include=FALSE}

Opened this issue · 0 comments

I have realized that by knitting exactly the same code in R markdown with {r ,include= FALSE} instead of {r ,eval= FALSE} for the code that includes the "here" function, the knitting does not work. In my specific case, the error that shows up says "error in here("Datasets","FA_GL.csv"): unused argument "FA_GL.csv" Calls: .... withVisible -> eval -> eval -> read.csv -> read.table Execution halted.

both {r ,include= FALSE} and {r ,eval= FALSE} work fine when the code is runned in R, the problem only arises when the document is knitted. Is that supposed to happen?