Error saving file - cannot find the path specified

I just updated to RStudio RStudio 2024.04.0+735 (more build version at the end) and I am no longer able to save to certain paths on my computer that were previously not an issue.

The log files seem to imply it is incorrectly appending the file location multiple times. For example I want to be saving to the file path:

C:/Users/<username>/<company name>/Documents partages - -US- US MTI/Competitive Analysis/Tenacity Investigation/test.R`

but the log file indicates it is instead saving to:

C:/Users/<username>/<company name>/Documents partages - -US- US MTI/Competitive Analysis/Tenacity Investigation/~ partages - -US- US MTI/Competitive Analysis/Tenacity Investigation/test.R

It almost looks like it's doing something unexpected with the ~ expansion which should be C:/Users/<username>/<company name>/Documents.

Any ideas on trouble shooting this?

Log output:

2024-05-06T14:03:52.322732Z [rsession-christopher.quartara] ERROR system error 3 (The system cannot find the path specified) [path: C:/Users/<username>/<company name>/Documents partages - -US- US MTI/Competitive Analysis/Tenacity Investigation/~ partages - -US- US MTI/Competitive Analysis/Tenacity Investigation/test.R]

Version info:

RStudio 2024.04.0+735 "Chocolate Cosmos" Release (a00d0e775dbc93e0d79a1bf474e3e8e8de677383, 2024-04-24) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.04.0+735 Chrome/120.0.6099.291 Electron/28.2.6 Safari/537.36, Quarto 1.4.553