only show the updatable packages list once per session?

17 views
Skip to first unread message

Timothy Bates

unread,
Oct 22, 2018, 1:42:08 PM10/22/18
to devtools
The current dev build of devtools throws a dialog for packages it thinks it can get updates for every time the user runs install.

First time is kind of useful (except when the only build available is one that needs compiling (for users without a full compile stack this is not helpful).

But subsequent times are a bit annoying: Perhaps just do this check the first use of the function? or is there an option to turn it into a console list (found these updates:....) instead of a dialog?

t

Jim Hester

unread,
Oct 24, 2018, 8:36:57 AM10/24/18
to timothy...@gmail.com, rdev...@googlegroups.com
The menu uses `utils::select.list()` so like other dialogs in R you can set the global option `options(menu.graphics = FALSE)` to use a text menu instead.

You can use `upgrade = "always"` or `upgrade = "never"` to avoid the menu if you don't want to see it in subsequent installs; previous versions of devtools were equivalent to a default of `upgrade = "always"`.

--
You received this message because you are subscribed to the Google Groups "devtools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdevtools+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Timothy Bates

unread,
Oct 31, 2018, 6:07:01 AM10/31/18
to Jim Hester, rdev...@googlegroups.com
Thanks Jim,
It was an edge case where CRAN had a package with a newer version,but it needed compilation.

Seemed like asking once per session (a devtools rather than global preferences solution) would have been helpful.

T
Reply all
Reply to author
Forward
0 new messages