I've come across a weird problem. I have a project, where at one stage I created a directory under c:\users\hongooi\appdata. Then I deleted that directory and forgot about it. Now, I've just discovered that each time VSCode opens that project (or "folder" as it calls it), it recreates that directory.
Would you know what's causing this, and how I can get it to stop?
Some more detail: the code that created the dir was in the .onload function for an R package, so it got called automatically each time I loaded the package. Later I decided I didn't really need that dir, so I removed the code and deleted the dir. But VSCode refuses to accept that it's gone.
I've confirmed that it's not my code that's doing it, by running rgui.exe and loading the package there. Also, VSC creates the directory before I've even opened the R terminal.
I've come across a weird problem. I have a project, where at one stage I created a directory under c:\users\hongooi\appdata. Then I deleted that directory and forgot about it. Now, I've just discovered that each time VSCode opens that project (or "folder" as it calls it), it recreates that directory.
Would you know what's causing this, and how I can get it to stop?
Some more detail: the code that created the dir was in the
.onload
function for an R package, so it got called automatically each time I loaded the package. Later I decided I didn't really need that dir, so I removed the code and deleted the dir. But VSCode refuses to accept that it's gone.I've confirmed that it's not my code that's doing it, by running rgui.exe and loading the package there. Also, VSC creates the directory before I've even opened the R terminal.