* using log directory 'd:/RCompile/CRANincoming/R-devel/explainer.Rcheck' * using R Under development (unstable) (2023-11-21 r85583 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'explainer/DESCRIPTION' ... OK * this is package 'explainer' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Ramtin Zargari Marandi ' New submission Possibly misspelled words in DESCRIPTION: Explainer (2:31) Shapley (7:172) The Description field should not start with the package name, 'This package' or similar. * checking package namespace information ... OK * checking package dependencies ... NOTE Depends: includes the non-default packages: 'cowplot', 'data.table', 'dplyr', 'ggplot2', 'mlr3', 'mlr3learners', 'knitr', 'broom', 'cvms', 'iml', 'tidyverse', 'egg', 'ggpmisc', 'ggpubr', 'magrittr', 'plotly', 'tibble', 'tidyr', 'writexl', 'forcats', 'mlr3viz', 'plotROC', 'psych', 'reshape2' Adding so many packages to the search path is excessive and importing selectively is preferable. * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'explainer' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... NOTE Packages in Depends field not imported from: 'broom' 'cowplot' 'forcats' 'iml' 'knitr' 'mlr3' 'mlr3learners' 'mlr3viz' 'plotROC' 'psych' 'reshape2' 'tidyverse' These packages need to be imported from (in the NAMESPACE file) for when this namespace is loaded but not attached. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [20s] NOTE SHAPclust: no visible binding for global variable 'prediction_correctness' SHAPclust: no visible binding for global variable 'truth' SHAPclust: no visible binding for global variable 'response' SHAPclust: no visible binding for global variable 'fval' SHAPclust: no visible binding for global variable '.SD' SHAPclust: no visible binding for global variable 'variable' SHAPclust: no visible binding for global variable 'mean_absolute_shap' SHAPclust: no visible binding for global variable 'feature' SHAPclust: no visible binding for global variable 'value' SHAPclust: no visible binding for global variable 'sample_num' SHAPclust: no visible global function definition for 'as_tibble' SHAPclust: no visible global function definition for 'ggtitle' ShapFeaturePlot: no visible binding for global variable 'f_val' ShapFeaturePlot: no visible binding for global variable 'Phi' ShapFeaturePlot: no visible binding for global variable 'correct_prediction' eDecisionCurve: no visible binding for global variable 'threshold' eDecisionCurve: no visible binding for global variable 'value' eDecisionCurve: no visible binding for global variable 'variable' eFairness: no visible binding for global variable 'truth' eFairness: no visible binding for global variable 'pos_class_prob' eFairness: no visible binding for global variable 'subgroups' eSHAP_plot: no visible binding for global variable 'feature' eSHAP_plot: no visible binding for global variable 'sample_num' eSHAP_plot: no visible binding for global variable 'correct_prediction' eSHAP_plot_reg: no visible binding for global variable 'feature' eSHAP_plot_reg: no visible binding for global variable 'sample_num' eperformance: no visible binding for global variable 'fpr' eperformance: no visible binding for global variable 'tpr' eperformance: no visible binding for global variable 'threshold' eperformance: no visible binding for global variable 'x' eperformance: no visible binding for global variable 'y' eperformance: no visible global function definition for 'scale_x_continuous' eperformance: no visible global function definition for 'scale_y_continuous' eperformance: no visible binding for global variable 'ppv' shapPartialPlot: no visible binding for global variable 'f_val' shapPartialPlot: no visible binding for global variable 'pred_prob' shapPartialPlot: no visible binding for global variable 'correct_prediction' Undefined global functions or variables: .SD Phi as_tibble correct_prediction f_val feature fpr fval ggtitle mean_absolute_shap pos_class_prob ppv pred_prob prediction_correctness response sample_num scale_x_continuous scale_y_continuous subgroups threshold tpr truth value variable x y * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 4 NOTEs