This line unconditionally tries to create the temporary pandoc library directory, which persists after knitting one Rmd from within PyCharm.
This results in a warning being displayed on every knit operation.
Guarding this clause with if (!dir.exists(library_path)) will prevent the warning, leading to cleaner console output.
|
dir.create(library_path, recursive = TRUE) |