h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.89k stars 2k forks source link

Warning in "h2o.pd_plot()" related to ggplot version. #15622

Open coforfe opened 1 year ago

coforfe commented 1 year ago

Hello,

When generating a partial dependance plot, appears this meesage:

> pd_plot_dist <- h2o.pd_plot(aml@leader, test, 'district')
> pd_plot_dist
Warning message:
The dot-dot notation (`..count..`) was deprecated in ggplot2 3.4.0.
ℹ Please use `after_stat(count)` instead.
ℹ The deprecated feature was likely used in the h2o package.
  Please report the issue at <https://github.com/h2oai/h2o-3/issues>.

This is my sessionInfo()

> sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.4.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/Madrid
tzcode source: internal

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

other attached packages:
[1] h2o_3.42.0.1      inspectdf_0.0.12  janitor_2.2.0     ggplot2_3.4.2     tidytable_0.10.1 
[6] data.table_1.14.9

loaded via a namespace (and not attached):
 [1] bit_4.0.5          jsonlite_1.8.7     gtable_0.3.3       dplyr_1.1.2        compiler_4.3.0    
 [6] crayon_1.5.2       tidyselect_1.2.0   Rcpp_1.0.10        stringr_1.5.0      bitops_1.0-7      
[11] snakecase_0.11.0   tidyr_1.3.0        progress_1.2.2     scales_1.2.1       ggfittext_0.10.0  
[16] R6_2.5.1           labeling_0.4.2     generics_0.1.3     curl_5.0.1         tibble_3.2.1      
[21] munsell_0.5.0      lubridate_1.9.2    RColorBrewer_1.1-3 pillar_1.9.0       rlang_1.1.1       
[26] utf8_1.2.3         stringi_1.7.12     bit64_4.0.5        timechange_0.2.0   cli_3.6.1         
[31] withr_2.5.0        magrittr_2.0.3     grid_4.3.0         rstudioapi_0.14    hms_1.1.3         
[36] lifecycle_1.0.3    prettyunits_1.1.1  vctrs_0.6.3        glue_1.6.2         farver_2.1.1      
[41] RCurl_1.98-1.12    fansi_1.0.4        colorspace_2.1-0   purrr_1.0.1        tools_4.3.0       
[46] pkgconfig_2.0.3   

Thanks, Carlos.

mn-mikke commented 1 year ago

cc @tomasfryda