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.
Closes #1431
Edit: Copied description from #1431
Breaking changes
When R starts a new session as in
a couple of files from the current directory are executed, for example
.Rprofile
and.RData
.For the installation of R packages using
install.R
, a new R session is used. This means that.Rprofile
and.RData
and executed during the creation of the container image wheninstall.R
is executed.This pull request will remove disable the execution of
.Rprofile
during the creation of the container image.Users that are using
.Rprofile
to configure things during the creation of the image will observer that their intended changes are no longer present at the container image and the container image might be broken depending of their intended changes.The
.Rprofile
is still executed when starting a new R session on Jupyter Notebooks, Jupyter Lab or R Studio.Example
A user operates their own private mirror of CRAN at
https:/cran.private.me
and the.Rprofile
hasWith this pull request, when the user runs
the execution of
install.R
during the creation of the container image will use the official CRAN instead of the private mirror of the user.