Renaming RStudio project under version control : <p>What's the right way to rename an RStudio project (esp., when that project is under version control)?</p>

<p>E.g., I created an RStudio project with version control in "~/myproject". Then I decided I wanted to rename the project to "myproject1". So I </p>

<ol>
<li>renamed "~/myproject" as "~/myproject1"</li>
<li>renamed "myproject.Rproj" as "myproject1.Rproj"</li>
<li>committed the "rename" changes with git via RStudio.</li>
</ol>

<p>Everything seems to be fine. But I have a suspicion I'm missing something and that I'm going to be surprised by some project behavior down the line. </p>
