Comments (5)
Hi @laresbernardo!
Unfortunately, I wasn't able to reproduce the error. The example you've provided works just fine for me. I've tried it on both lares 4.9.6 and 4.9.7 versions and it doesn't produce any errors on neither of them.
Could you please post your session.info()
?
from xai2shiny.
Still getting the error after a fresh new session @Adamoso
> xai2shiny(explainer)
Loading required package: shiny
Need shinyjs help? You can ask any Shiny-related question in the RStudio Community forums:
https://community.rstudio.com/c/shiny
Attaching package: ‘shinyjs’
The following object is masked from ‘package:shiny’:
runExample
The following object is masked from ‘package:h2o’:
show
The following objects are masked from ‘package:methods’:
removeClass, show
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
Attaching package: ‘shinyWidgets’
The following object is masked from ‘package:shinyjs’:
alert
Error in withSpinner(uiOutput("textPred"), hide.ui = FALSE) :
unused argument (hide.ui = FALSE)
Here's my session info:
R version 4.0.0 (2020-04-24)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
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.0/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_3.3.2 shinyWidgets_0.5.2 shinycssloaders_0.3 shinydashboard_0.7.1 shinyjs_1.1 shiny_1.4.0.2
[7] h2o_3.32.0.1 DALEX_1.3.1.1 lares_4.9.7 xai2shiny_0.1.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 lubridate_1.7.9 tidyr_1.1.2 digest_0.6.26 mime_0.9 R6_2.4.1 plyr_1.8.6
[8] evaluate_0.14 httr_1.4.2 pillar_1.4.6 rlang_0.4.8 rstudioapi_0.11 data.table_1.13.2 whisker_0.4
[15] rmarkdown_2.3 config_0.3 readr_1.3.1 stringr_1.4.0 RCurl_1.98-1.2 munsell_0.5.0 tinytex_0.25
[22] compiler_4.0.0 httpuv_1.5.4 xfun_0.16 pkgconfig_2.0.3 htmltools_0.5.0 tidyselect_1.1.0 tibble_3.0.4
[29] withr_2.3.0 crayon_1.3.4 dplyr_1.0.2 later_1.1.0.1 bitops_1.0-6 grid_4.0.0 jsonlite_1.7.1
[36] xtable_1.8-4 gtable_0.3.0 lifecycle_0.2.0 magrittr_1.5 pROC_1.16.2 scales_1.1.1 rlist_0.4.6.1
[43] zip_2.1.1 stringi_1.5.3 farver_2.0.3 promises_1.1.1 xml2_1.3.2 ellipsis_0.3.1 generics_0.0.2
[50] vctrs_0.3.4 openxlsx_4.2.2 tools_4.0.0 glue_1.4.2 purrr_0.3.4 hms_0.5.3 fastmap_1.0.1
[57] yaml_2.2.1 colorspace_1.4-1 rvest_0.3.6 knitr_1.29 patchwork_1.0.1
from xai2shiny.
Sorry for the late answer, @laresbernardo.
The problem is your shinycssloaders
version. The current CRAN version is 1.0.0.
If you could please update the package and let me know if this helped, it would be great. I will make sure to include this requirement in the documentation.
from xai2shiny.
@Adamoso Hi! That did the trick, thanks for catching it. Adding >= 1.0.0 to your dependencies would avoid this 👍
I also wanted to pass a quick feedback regarding the UX: is it possible to add a button to recalculate instead of recalculating every time you move a lever or change a single value? It is super slow when moving continuous values and changing the variables. I think that'd improve the tool quite a lot!
from xai2shiny.
@laresbernardo thank you for the feedback. I'm glad that it worked.
That feature will be implemented in the next version, cooming soon!
from xai2shiny.
Related Issues (20)
- Update README HOT 1
- Develop 'Learn more about XAI' tab HOT 1
- Provide better prediction text placeholder HOT 1
- Add tooltips next to XAI plots HOT 1
- Research dashboard tabs collapsing HOT 1
- Add further 'Learn more about XAI' parts
- Research theme selection feature HOT 1
- Add further 'Learn more about XAI' parts HOT 1
- Correct internal xai2shiny functions
- allow for other dir names than xai2shiny HOT 1
- more verbose xai2shiny::xai2shiny HOT 1
- warn before ovverride HOT 1
- add footer with information about site generator HOT 1
- make sure that plots have consistent titles
- issues with layout if only global explanations are selected HOT 1
- what about additional method parameters in the menu HOT 2
- information about funding in readme HOT 1
- you CANNOT DELETE the content of the 'directory' (if present) HOT 1
- finish TODOS HOT 1
- Update sample cloud app with the newest version of the package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xai2shiny.