Opening Rproject opens old scripts, including previously discarded ones

Have stated it in the Github discussion but just to state the workaround explicitly here for anyone coming across this and wanting a quick solution:

Delete the .Rproj.user folder (hidden folder where project-specific temporary files e.g. auto-saved source documents, window-state, etc. are stored: https://support.posit.co/hc/en-us/articles/200526207-Using-RStudio-Projects).

image