-
Notifications
You must be signed in to change notification settings - Fork 152
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
ppm.enabled
in settings vs. config
#1901
Comments
Thanks! This seems unexpected to me; I'll need to investigate further. At least locally, I see:
Can you share the output of |
@kevinushey thanks for your reply. I should mention I only have this issue on Windows. Here are some diagnostics:
|
Thanks! I can confirm the issue now. The issue is alleviated if you set:
before installation. The problem occurs because Lines 390 to 394 in 5d0d52c
I think if we're already installing from, or using, a specific PPM snapshot, then we'd want to avoid using other PPM snapshots. |
The documentation implies that the config and settings
ppm.enabled
options operate similarly. However a recent use case brought up some questions about the difference between these two options. Here is the scenario:For example, from R 4.3.2, the following code:
Results in
As opposed to downloading dplyr 1.1.0 from the 2023-03-01 snapshot.
I have found that if I set config ppm.enabled = FALSE and settings ppm.enabled = TRUE, I think I am able to avoid {renv} from reaching out to P3M, while keeping other benefits of PPM being enabled.
Is this the expected behavior/the recommended configuration for sticking to just the specified repos? If so, is there a way to update the documentation so these 2 options can be more easily distinguished?
Thanks very much in advance for your help!
The text was updated successfully, but these errors were encountered: