I have an Rmarkdown file that uses Flexdashboard. When I knit, the HTML file that is rendered acts as if it is self contained: I can email it to someone and it still works. However, I am stuck with the "files" folder in the directory where the markdown report was saved. If I delete the "files" folder, the report is also deleted. I think for a self contained Rmarkdown html file, the behavior should be that the "files" folder is automatically deleted once the report has finished rendering. However, the report remains and seems to still be linked to the "files" folder. Since I run hundreds of these markdown reports, I would rather not be stuck with all these "files" folders that I cannot move or delete without moving or deleting the reports. Anyone know what's going on?
I am using: RStudio 2022.02.0.443