Open juliasilge opened 1 week ago
I would encourage people to use rig. It does all the hard work for you https://github.com/r-lib/rig/blob/532d6e5d330a4b900cc26ff99be5559815b5a211/src/help-windows.in#L258
TLDR:
rig system rtools add
We can start by documenting guidance in the official Positron docs, and in the future look into better detection + fixing the issue.
The documentation is now updated at: https://positron.posit.co/start.html#windows-prerequisites
In the future, we can explore how to detect and fix Rtools setup.
RStudio does a lot of careful work to provide and use RTools on Windows, but Positron doesn't have any of that currently. This means, for example, that
make
is probably not available by default as outlined in https://github.com/posit-dev/positron/discussions/5326. This applies mostly to R package developers working on Windows.For now, folks are on their own when it comes to RTools but let's consider adding features (like finding and/or prompting to install RTools) for a better Windows experience.