Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR: Executable Selection
Aims
integration with what users are used to
Features
New Status Bar
If there is no valid rpath set by the user, the language status item
will prompt the user to select an R executable.
The status item can be collapsed if the user doesn’t want the item to be
visible at all times.
Executable Selector
Users will be shown a quickpick of valid R paths that were either found
by VSCode, or were set by the user. Selecting a path will set the
executable to the current workspace.
The quickpick is aware of renv lock files and will attempt to recommend
R versions that match the R version in the lock file.
Conda/Mamba Support
The executable service is aware of conda and mamba installations, and
will modify any background services to use
conda run
ormamba run
,and will modify the terminal accordingly as well. Both conda and mamba
should work without any user intervention.
Multi-root workspace support
Different roots can have different R versions set to them.
If the user is working in a multi-root workspace, selecting an
executable will prompt the user to select which workspace they want the
executable to be set to.