Closed peter-bastian closed 9 months ago
I'm not a user of this package, but I stumbled upon this bug report while searching for the same warning message that appeared in one of my old functions.
I fixed it with a simple code change in the panel function used within the pairs()
function, and I suspect it might be the same problem here.
Old code with warning(s)
usr <- par("usr")
par(usr)
New code without warning :
usr <- par("usr")
par(usr=usr)
Thanks for the patch @GillesSanMartin!
Description
chart.Correlation() is throwing the warning "In par(usr) : argument 1 does not name a graphical parameter". Digging into this a bit, it is happening in the panel.cor function, second call to text(). Going further, the warning is generated in the par() function when the text() function reaches the end and invisible() is called. The "..." argument to the par() function is converted to args variable. It contains the following:
Expected behavior
No warnings to be generated
Minimal, reproducible example
Using the csv file attached to this issue report...
This will generate 28 warnings:
Session Info
PA_Warning.csv