AndriSignorell / DescTools

Tools for Descriptive Statistics and Exploratory Data Analysis
http://andrisignorell.github.io/DescTools/
82 stars 18 forks source link

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

Closed GegznaV closed 4 months ago

GegznaV commented 5 months ago

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

image

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

GegznaV commented 5 months ago

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.

AndriSignorell commented 5 months ago

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.

AndriSignorell commented 4 months ago

Fixed, try:

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

GegznaV commented 4 months ago

It works perfectly now. Thanks, Andri!

GegznaV commented 4 months ago

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)?

AndriSignorell commented 4 months ago

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