-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement in the setting of the user directory #9483
base: master
Are you sure you want to change the base?
Conversation
@N-thony not sure how and what to test here? But I can't anymore load our packages. it says: Should I be doing things in a different way? |
@rdstern @lilyclements, this is what I get when trying to install the databook package running my master branch. |
Hi @N-thony I am going to investigate this. It's been working for @rdstern, but for me I've been getting this issue too. I think perhaps the |
@lilyclements I also want to report something that seems a bit odd. The instatExtra::set_library_paths function was recently changed after the release of R-Instat version 0.8.3. However, when I run R-Instat 0.8.3, it appears to be using the latest version of instatExtra::set_library_paths instead of the one that was available at the time of the release. Am I missing something? |
I got the same thing in R-Instat version 0.8.3 and this was due to an extra space, after removing the extra space, it seems to work so, I have decided to install the databook |
@N-thony great - glad it worked in the end. I'm not sure why the databook directory isn't there though |
@lilyclements I tried again, I still don't get the new databook in the user directory as done in R-Instat 0.8.2. I'm not sure if this issue is only on my side or @rdstern is facing the issue as well. |
@N-thony I am not sure if the following observation helps.
The sessionInfo() tells me that I have the original versions of the 4 Instat packages, i.e. not @lilyclements updated ones. Note I am not installing anything new, just changing the attached version. When I try the same with your branch then: a) The |
@rdstern, I think this will be tested well in the release version, unless @ChrisMarsh82 has another opinion on this. |
Fixes #9467
Thanks @lilyclements for updating
instatExtra::set_library_paths
in IDEMSInternational/instatExtras#65@rdstern, this will make sure that the user directory is created if not yet and set it as a primary library for packages before running the code to attach the packages in
Rsetup.R
. Now, when you update a package which goes to the user directory, it will be attached after restarting R-Instat.