[R] smoothScatter() and the KernSmooth package
Witold E Wolski
wewo|@k| @end|ng |rom gm@||@com
Wed Jun 17 11:58:46 CEST 2020
Hello,
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
Execution halted
```
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.
https://stat.ethz.ch/pipermail/r-devel/2015-February/070671.html
So I could add KernSmooth to Suggest in the DESCRIPTION but I have a
few questions:
(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"?
"
best regards
Witek
--
Witold Eryk Wolski
More information about the R-help
mailing list