Closed SaintRod closed 9 months ago
@SaintRod, Thank you for your kind and specific feedback.
I'll check the first error. And the application case of na.omit() you tried is not the way I intended it to be.
the second error is This is about https://github.com/choonghyunryu/dlookr/issues/75.
Try installing the patched development version with the following command:
devtools::install_github("choonghyunryu/dlookr")
I will submit to CRAN as soon as possible.
Thanks!!!
Hello @choonghyunryu . Thanks for the quick response.
I've updated to the latest version on github and this seems to have resolved the second error since the code has progressed past line 250. However, now there is a new error now.
Quitting from lines 252-253 (eda_paged_temp.Rmd)
Error in html_paged_target_numerical(reportData, targetVariable, base_family = base_family) :
object 'index' not found
In addition: Warning message:
'dlookr::plot_correlate' is deprecated.
Use 'plot.correlate' instead.
See help("Deprecated")
@SaintRod,
Modify the following script,
dlookr::eda_paged_report(
.data = na.omit(df),
target = "y",
output_format = "html",
output_file = "EDA.html",
output_dir = path,
browse = FALSE
)
as follows and run it.
library(dlookr)
eda_paged_report(
.data = na.omit(df),
target = "y",
output_format = "html",
output_file = "EDA.html",
output_dir = path,
browse = FALSE
)
Hi, @choonghyunryu:
Same error still.
Quitting from lines 252-253 (eda_paged_temp.Rmd)
Error in html_paged_target_numerical(reportData, targetVariable, base_family = base_family) :
object 'index' not found
In addition: Warning message:
'dlookr::plot_correlate' is deprecated.
Use 'plot.correlate' instead.
See help("Deprecated")
@SaintRod,
I have identified the cause of the issue you raised and fixed it. I am very sorry. I resolved the issue too late.
Quitting from lines 258-259 [group-categorical] (eda_paged_temp.Rmd)
Error in `html_paged_target_categorical()`:
! object 'index' not found
Backtrace:
1. dlookr:::html_paged_target_categorical(...)
There were 50 or more warnings (use warnings() to see the first 50)
Quitting from lines 252-253 [group-numerical] (eda_paged_temp.Rmd)
Error in `html_paged_target_numerical()`:
! object 'index' not found
Backtrace:
1. dlookr:::html_paged_target_numerical(...)
and
Quitting from lines 252-253 [group-numerical] (eda_paged_temp.Rmd)
Error in `quantile.default()`:
! missing values and NaN's not allowed if 'na.rm' is FALSE
Backtrace:
1. dlookr:::html_paged_target_numerical(...)
5. dlookr:::plot.relate(fit_lm, base_family = "NanumSquare")
6. dlookr (local) bandwidth.nrd(attr(x, "raw")[[xvar]])
at dlookr/R/target_by.R:648:6
8. stats:::quantile.default(x, c(0.25, 0.75))
Hi, @choonghyunryu. Thank you very much for working on this. I am glad you were able to resolve the issue(s).
The codebase I worked on has been refactored. Unfortunately, dlookr has been removed as a dependency. Alas, I can no longer replicate the error and test the update. I will mark this issue as closed based on your comments above. Thank you again!
First, thank you for this great work. I tried two other EDA libraries before landing on dlookr. The others had pandoc issues while dlooker was able to create an hmtl report seamlessly.
Background Info:
Initial call to eda_paged_report()
library(dlookr)
dir.exist(path)
First error:
I am able to bypass this error by using the below workaround. Is this is expected or unexpected behavior?
Second error:
I'm able to bypass the second error by removing the target variable, but oddly the report EDA.html was blank after page 2. Please let me know how I can assist and if there is anything else I can provide. Thank you
Session Info