-
Notifications
You must be signed in to change notification settings - Fork 0
dt revdep needs to accept permanent lib dir #4
Comments
I have set the path to USERHOME/.dt/rlib now. I also had to touch the handling of the return value of check_cran again. IIRC I had to do this before. The R docs of this function also seem wrong. |
More importantly: Why dont we call revdep_check? It is a bit annoying that apparently nobody besides me seems to call this function? It does not set an exit code, but at least it runs. |
This function is marked as internal.
Nope, you did not.
Because I wanted to have an exit code and more control over the output. Especially the last lines printing the failed packages was extremely helpful.
I don't see your point. The previous version was working for me (and returning a meaningful exit code was replacing a |
I dont get what is happening here.
|
And also:
Yes exactly. Which is the the only thing that makes sense in your post. And that implies we should not use it. The conclusion is: Don't rely on stuff other people mark as internal. Otherwise this happens. It is also possible to use the output of the public function to generate an exit code, just like before. |
This was not reverted. The exit code stuff has been there since December.
Worked perfectly with devtools 1.6.1.
Then create a new branch for unfinished work instead of pushing it to the master. |
the docs of check_cran say:
libpath: Path to library to store dependencies packages - if you you're doing this a lot it's a good idea to pick a directory and stick with it so you don't have to download all the packages every time
We currently set to temfile("Rlib"). This ensures that always all deps are downloaded again. For BBmisc this is 130 pkgs, even for BE this is extremely slow.
The text was updated successfully, but these errors were encountered: