-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renv/activate.R
1.0.8 stops processing of .Rprofile
in RStudio
#1990
Comments
I ran into the same issue after upgrading to renv 1.0.8. This is a serious regression! I don't have a clear enough view of the renv starting behavior to be able to say exactly where things go south, but I noticed that setting |
Thanks for the bug report -- we'll take a look and try to get this fixed up ASAP. |
I've pushed a potential fix in 73d3841 that works locally for me -- are you able to test and report back? If everything looks good I can prepare a patch release for CRAN soon. |
@kevinushey I have tested the patched version locally and it does resolve the issue for me. Thanks! |
@kevinushey I can also confirm that this issue is fixed with |
Thanks for testing and confirming! renv 1.0.9 is now on CRAN; please let me know if you encounter any other issues. |
When opening a project in RStudio (2024.04.2+764),
source("renv/activate.R")
stops processing of the.Rprofile
.Steps to reproduce:
.Rprofile
as follows:Starting RStudio with renv 1.0.7:
Starting RStudio with renv 1.0.8:
Starting R with renv 1.0.8:
This seems to be caused by #1915.
The text was updated successfully, but these errors were encountered: