Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning "Directory already exists" when knitting Rmds after the first time #2

Open
AshesITR opened this issue Oct 27, 2021 · 0 comments

Comments

@AshesITR
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant