choonghyunryu / dlookr

Tools for Data Diagnosis, Exploration, Transformation
https://choonghyunryu.github.io/dlookr/
207 stars 35 forks source link

Error in eda_report() function #23

Open arunrajes opened 4 years ago

arunrajes commented 4 years ago

Hi Choonghyunryu,

I face the below error while executing the following R code library(dlookr) library(magrittr) iris%>%eda_report(output_format="html")

PS: I am a biggest fan of your dlookr package. It is awsome

Output from Console: output file: EDA_Report.knit.md

Error in extract(input_str) : Invalid nesting of html_preserve directives In addition: Warning messages: 1: Unquoting language objects with !!! is deprecated as of rlang 0.4.0. Please use !! instead.

Bad:

dplyr::select(data, !!!enquo(x))

Good:

dplyr::select(data, !!enquo(x)) # Unquote single quosure dplyr::select(data, !!!enquos(x)) # Splice list of quosures

This warning is displayed once per session. 2: In png(file, width = 1 + k * w, height = h) : 'width=10, height=13' are unlikely values in pixels 3: In readLines(con, warn = FALSE) : invalid input found on input connection 'EDA_Report.knit.md' 4: In readLines(con, warn = FALSE) : invalid input found on input connection 'EDA_Report.utf8.md'

My Session info() R version 3.6.3 (2020-02-29) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134)

Matrix products: default

Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding

locale: [1] LC_COLLATE=English_India.1252 LC_CTYPE=English_India.1252
[3] LC_MONETARY=English_India.1252 LC_NUMERIC=C
[5] LC_TIME=English_India.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] kableExtra_1.1.0 knitr_1.22 moments_0.14 gridExtra_2.3
[5] ggplot2_3.1.1 dplyr_0.8.5 xtable_1.8-4 magrittr_1.5
[9] dlookr_0.3.13 mice_3.8.0

loaded via a namespace (and not attached): [1] colorspace_1.4-1 class_7.3-15 rio_0.5.16
[4] htmlTable_1.13.1 base64enc_0.1-3 rstudioapi_0.10
[7] bit64_0.9-7 mvtnorm_1.1-0 sqldf_0.4-11
[10] xml2_1.2.0 splines_3.6.3 libcoin_1.0-5
[13] DMwR_0.4.1 Formula_1.2-3 broom_0.5.2
[16] cluster_2.1.0 png_0.1-7 readr_1.3.1
[19] compiler_3.6.3 httr_1.4.0 backports_1.1.4
[22] assertthat_0.2.1 Matrix_1.2-18 lazyeval_0.2.2
[25] acepack_1.4.1 htmltools_0.3.6 tools_3.6.3
[28] partykit_1.2-7 gtable_0.3.0 glue_1.3.1
[31] tinytex_0.22 Rcpp_1.0.4.6 carData_3.0-2
[34] cellranger_1.1.0 vctrs_0.2.4 gdata_2.18.0
[37] nlme_3.1-144 inum_1.0-1 xfun_0.6
[40] stringr_1.4.0 proto_1.0.0 openxlsx_4.1.0.1
[43] rvest_0.3.4 lifecycle_0.2.0 gtools_3.8.1
[46] RcmdrMisc_2.7-0 MASS_7.3-51.5 zoo_1.8-6
[49] scales_1.0.0 hms_0.4.2 sandwich_2.5-1
[52] RColorBrewer_1.1-2 smbinning_0.9 yaml_2.2.0
[55] quantmod_0.4-15 curl_3.3 memoise_1.1.0
[58] rpart_4.1-15 latticeExtra_0.6-29 stringi_1.4.3
[61] RSQLite_2.2.0 highr_0.8 corrplot_0.84
[64] nortest_1.0-4 e1071_1.7-3 checkmate_1.9.4
[67] TTR_0.23-4 caTools_1.17.1.2 zip_2.0.1
[70] chron_2.3-55 rlang_0.4.5 pkgconfig_2.0.2
[73] bitops_1.0-6 evaluate_0.13 lattice_0.20-38
[76] ROCR_1.0-7 purrr_0.3.2 htmlwidgets_1.3
[79] bit_1.1-15.2 tidyselect_0.2.5 plyr_1.8.4
[82] R6_2.4.0 gplots_3.0.1.1 generics_0.0.2
[85] Hmisc_4.4-0 DBI_1.1.0 withr_2.1.2
[88] gsubfn_0.7 pillar_1.4.3 haven_2.1.0
[91] foreign_0.8-75 prettydoc_0.3.1 xts_0.12-0
[94] survival_3.1-11 abind_1.4-5 nnet_7.3-12
[97] tibble_2.1.1 crayon_1.3.4 car_3.0-3
[100] KernSmooth_2.23-16 rmarkdown_2.1 jpeg_0.1-8.1
[103] grid_3.6.3 readxl_1.3.1 data.table_1.12.8
[106] blob_1.2.1 forcats_0.4.0 digest_0.6.18
[109] classInt_0.4-3 webshot_0.5.2 tidyr_1.0.2
[112] munsell_0.5.0 viridisLite_0.3.0 tcltk_3.6.3

choonghyunryu commented 4 years ago

Hi arunrajes,

I am very sorry. The answer was late.

Run the script once again, If you have the same problem, please send the EDA_Report.knit.md file.

Thanks and Best Regards, Choonghyun