Skip to content

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

@AshesITR

Description

@AshesITR

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions