pak icon indicating copy to clipboard operation
pak copied to clipboard

Message if R version is outdated

Open gaborcsardi opened this issue 5 years ago • 4 comments

Ideally, it would only warn if a binary installer is available for the platform, and only once per session. It probably should not warn on the CIs, and in Docker.

gaborcsardi avatar Jan 04 '19 10:01 gaborcsardi

Probably only for interactive sessions as well?

jimhester avatar Jan 04 '19 11:01 jimhester

I thought about that, but where is the harm in doing it for non-interactive sessions? pkgman will already print messages about the packages to be installed, etc.

gaborcsardi avatar Jan 04 '19 11:01 gaborcsardi

I guess maybe none, but I was thinking about if people have a task running R on a server and would get worried if there was a warning showing up in the logs.

But I guess this would only be during installation, so it is probably fine.

jimhester avatar Jan 04 '19 14:01 jimhester

Technically it would not be a warning, just a message. Sorry, the issue title is confusing.

We would also add an env var to suppress it. pkgman will probably have a non-interactive deployment mode, similar to npm ci, and there we would not show the "warning".

gaborcsardi avatar Jan 04 '19 14:01 gaborcsardi