temporarily use site library to set up VSCode-R ext #102
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.
The VSCode-R extension checks for the jsonlite and rlang packages during initialization, so that the R Session Watcher will work. We install these packages when we install languageserver in the release version R that we add to the Docker container.
Although these packages only need to be available to the version of R used for background processes (defined by Rpath: Linux setting), the check is run on the version of R used in interactive sessions (defined by Rterm: Linux setting).
This PR adds an
.Rprofile
to temporarily add the library where the packages are installed to the library search path.I have also set the options for the PNG graphics to a more sensible size - this may later be replaced by using httpgd graphics (#100 (comment)).