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.
Positron Notes
Release Notes
New Features
The variable pane now supports labels from the {haven} package (Support computing statistics for
haven_labelled
data types in data explorer for R positron#5327.The variable pane has improved support for formulas (Variable Pane doesn't know how to format formulas positron#4119).
Bug Fixes
Assignments in function calls (e.g.
list(x <- 1)
) are now detected by the missing symbol linter to avoid annoying false positive diagnostics (Diagnostics: No symbol in scope when assigning variables in function calls positron#3048). The downside is that this causes false negatives when the assignment happens in a call with local scope, e.g. inlocal()
ortest_that()
. In these cases the nested assignments will incorrectly overlast the end of the call. We prefer to be overly permissive than overly cautious in these matters.The following environment variables are now set in the same way that R does:
R_SHARE_DIR
R_INCLUDE_DIR
R_DOC_DIR
This solves a number of problems in situations that depend on these variables being defined (Ark: Set
R_INCLUDE_DIR
andR_SHARE_DIR
envvars? positron#3637).