AndriSignorell/DescTools

Error in DescTools::PlotMiss(iris) : object 'hecru' not found

GegznaV opened this issue · 6 comments

Code DescTools::PlotMiss(iris) without loading DescTools with library() result in:

image

Why is it the case?
What is hecru?
Can this be fixed?

As I see, hecru is an exported dataset. In this blog post, it is recommended to prepend each case of this kind of data with the package's name, e.g., DescTools::hecru.

Yes, this happens, if the package has not been declared.
image

I will follow the recommendation and append the package's name to all the color definitions.

Fixed, try:

DescTools::PlotMiss(DescTools::d.pizza)

It works perfectly now. Thanks, Andri!

One more request: on 2024-02-26 (next Monday) I will conduct the DescTools lab in my biostatistics course for university students. Functions PlotMiss() and Desc() will be introduced then. So is there a way to have this fix on CRAN this week (by Monday)?

I'll try my best... ;-)