[R] smoothScatter() and the KernSmooth package
Witold E Wolski
wewo|@k| @end|ng |rom gm@||@com
Wed Jun 17 11:58:46 CEST 2020
I am getting the following error when running a package check
Error in loadNamespace(name) : there is no package called 'KernSmooth'
Calls: <Anonymous> ... loadNamespace -> withRestarts ->
withOneRestart -> doWithOneRestart
The error happens in a function which calls graphics::smoothScatter
I found this e-mail on the r-devel list where this problem is also reported.
So I could add KernSmooth to Suggest in the DESCRIPTION but I have a
(and I am citing from the e-mail above to which I could not find a reply):
"I have a few questions: isn't it unusual the way smoothScatter calls
grDevices:::.smoothScatterCalcDensity() and KernSmooth::bkde2D(),
i.e., without requiring the packages?
Shouldn't "graphics" suggest "KernSmooth"?
Witold Eryk Wolski
More information about the R-help