"R for Windows" Upgrade doesn't work as it should #2982
-
If you have an old version of R for Windows and run this:
It will install a newer version instead of updating, you then have two versions installed. I don't know if this is by design, I just want to mention it if there is a configuration in the back that is not correct. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is because the application installs "side-by-side" with previous versions. If the installer doesn't upgrade "in-place", we can add I've opened a PR to fix this issue: For future package related issues, consider opening an issue over at WinGet's Community Packages Repository. |
Beta Was this translation helpful? Give feedback.
This is because the application installs "side-by-side" with previous versions. If the installer doesn't upgrade "in-place", we can add
UpgradeBehavior: uninstallPrevious
key in WinGet's manifest to tell WinGet to call the uninstaller first before installing the newer version. (There's also an experimental arg --uninstall-previous to pass to WinGet install or upgrade commands to explicitly call the uninstaller before installing a package)I've opened a PR to fix this issue:
For future package related issues, consider opening an issue over at WinGet's Community Packages Repository.