incorrect warning with old `ggplot2`/failure to load `see`
Opened this issue · 2 comments
bbolker commented
In dealing with the ggplot2
version 3.5 mess (see #691), I accidentally reverted to version 3.4.0 instead of 3.4.4. If I then library("see")
directly I get
> library(see)
Error: package or namespace load failed for ‘see’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘ggplot2’ 3.4.0 is being loaded, but >= 3.4.4 is required
but if I run performance::check_model()
, it encounters the failure and assumes that the cause is that I don't have see
installed.
performance::check_model(g1)
Package `see` required for model diagnostic plots.
Would you like to install it? [y/n]
it then re-installs, fails to show the plot (as expected), and returns the raw object.
strengejacke commented
So the correct warning would be in this case: could not load package see
?
bbolker commented
Yes. Ideally it would be good to pass through some information about the error.