Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Rethink setting the lib path in the child process #73
The goal is to make sure that these are always the same:
.libPaths() callr::r(function() .libPaths()) callr::r(function() callr::r(function() .libPaths()))
and the same for
The lib path can be set in various places:
Our strategy is to make sure that
This is always the system library and we can't modify it. So we don't need to do anything with this.
This can come from
So we set this in the system profile. We set
R sessions with
This is similar, but can also be set in the user profile, and in the session itself as well. So we create a fake user session file as well, and set it there as well, and the fake system session file as well.