dash is giving an incomplete result page without the graphic based on the script

Bugdescription

Script is running properly and server also has started locally, but it seems because of a missing component after the installation of dashCoreComponents the graphic isn't rendered - the error message is:
warning: The dependency path '' within the 'dashCoreComponents' package is invalid; cannot find 'plotly-1.48.3.min.js'. from NULL

Steps to reproduce

  1. Save the script below as a R script loclaly
  2. Run the script
    The efect is producable everytime.

Expected result

The warning doesn't appear after executed script and the graphic is displayed.

Given result

  • Screenshot of the resultpage

  • Console

> library(dash)
> library(dashCoreComponents)
> library(dashHtmlComponents)
> 
> app <- Dash$new()
> 
> app$layout(
+   htmlDiv(
+     list(
+       htmlH1('Hello Dash'),
+       htmlDiv(children = "Dash: A web application framework for R."),
+       dccGraph(
+         figure=list(
+           data=list(
+             list(
+               x=list(1, 2, 3),
+               y=list(4, 1, 2),
+               type='bar',
+               name='SF'
+             ),
+             list(
+               x=list(1, 2, 3),
+               y=list(2, 4, 5),
+               type='bar',
+               name='Montr\U{00E9}al'
+             )
+           ),
+           layout = list(title='Dash Data Visualization')
+         )
+       )
+     )
+   )
+ )
> 
> 
> app$run_server()
Fire started at 127.0.0.1:8050
warning: The dependency path '' within the 'dashCoreComponents' package is invalid; cannot find 'plotly-1.48.3.min.js'. from NULL
start: 127.0.0.1:8050

sessionInfo

> session_info()
- Session info ---------------------------------------------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.5.1 (2018-07-02)
 os       Windows 10 x64              
 system   x86_64, mingw32             
 ui       RStudio                     
 language en                          
 collate  German_Germany.1252         
 ctype    German_Germany.1252         
 tz       Europe/Berlin               
 date     2019-07-31                  

- Packages -------------------------------------------------------------------------------------------------------------------------------------------------
 package            * version date       lib source                                      
 assertthat           0.2.1   2019-03-21 [1] CRAN (R 3.5.1)                              
 backports            1.1.4   2019-04-10 [1] CRAN (R 3.5.3)                              
 base64enc            0.1-3   2015-07-28 [1] CRAN (R 3.5.0)                              
 brotli               1.2     2018-05-13 [1] CRAN (R 3.5.3)                              
 callr                3.3.1   2019-07-18 [1] CRAN (R 3.5.1)                              
 cli                  1.1.0   2019-03-19 [1] CRAN (R 3.5.1)                              
 codetools            0.2-16  2018-12-24 [1] CRAN (R 3.5.2)                              
 crayon               1.3.4   2017-09-16 [1] CRAN (R 3.5.1)                              
 curl                 4.0     2019-07-22 [1] CRAN (R 3.5.3)                              
 dash               * 0.1.0   2019-07-31 [1] Github (plotly/dashR@77c59cd)               
 dashCoreComponents * 1.0.0   2019-07-31 [1] Github (plotly/dash-core-components@066500b)
 dashHtmlComponents * 1.0.0   2019-07-31 [1] Github (plotly/dash-html-components@17da1f4)
 desc                 1.2.0   2018-05-01 [1] CRAN (R 3.5.1)                              
 devtools           * 2.1.0   2019-07-06 [1] CRAN (R 3.5.1)                              
 digest               0.6.20  2019-07-04 [1] CRAN (R 3.5.1)                              
 fiery                1.1.1   2018-10-22 [1] CRAN (R 3.5.3)                              
 fs                   1.3.1   2019-05-06 [1] CRAN (R 3.5.3)                              
 future               1.14.0  2019-07-02 [1] CRAN (R 3.5.3)                              
 globals              0.12.4  2018-10-11 [1] CRAN (R 3.5.2)                              
 glue                 1.3.1   2019-03-12 [1] CRAN (R 3.5.3)                              
 htmltools            0.3.6   2017-04-28 [1] CRAN (R 3.5.1)                              
 httpuv               1.5.1   2019-04-05 [1] CRAN (R 3.5.3)                              
 jsonlite             1.6     2018-12-07 [1] CRAN (R 3.5.1)                              
 later                0.8.0   2019-02-11 [1] CRAN (R 3.5.2)                              
 listenv              0.7.0   2018-01-21 [1] CRAN (R 3.5.3)                              
 magrittr             1.5     2014-11-22 [1] CRAN (R 3.5.1)                              
 memoise              1.1.0   2017-04-21 [1] CRAN (R 3.5.1)                              
 mime                 0.7     2019-06-11 [1] CRAN (R 3.5.3)                              
 packrat              0.5.0   2018-11-14 [1] CRAN (R 3.5.1)                              
 pkgbuild             1.0.3   2019-03-20 [1] CRAN (R 3.5.3)                              
 pkgload              1.0.2   2018-10-29 [1] CRAN (R 3.5.1)                              
 prettyunits          1.0.2   2015-07-13 [1] CRAN (R 3.5.1)                              
 processx             3.4.1   2019-07-18 [1] CRAN (R 3.5.3)                              
 promises             1.0.1   2018-04-13 [1] CRAN (R 3.5.1)                              
 ps                   1.3.0   2018-12-21 [1] CRAN (R 3.5.2)                              
 R6                   2.4.0   2019-02-14 [1] CRAN (R 3.5.2)                              
 Rcpp                 1.0.2   2019-07-25 [1] CRAN (R 3.5.3)                              
 remotes              2.1.0   2019-06-24 [1] CRAN (R 3.5.1)                              
 reqres               0.2.2   2018-11-12 [1] CRAN (R 3.5.3)                              
 rlang                0.4.0   2019-06-25 [1] CRAN (R 3.5.3)                              
 routr                0.3.0   2017-10-26 [1] CRAN (R 3.5.3)                              
 rprojroot            1.3-2   2018-01-03 [1] CRAN (R 3.5.1)                              
 rstudioapi           0.10    2019-03-19 [1] CRAN (R 3.5.1)                              
 sessioninfo          1.1.1   2018-11-05 [1] CRAN (R 3.5.1)                              
 stringi              1.4.3   2019-03-12 [1] CRAN (R 3.5.3)                              
 testthat             2.2.1   2019-07-25 [1] CRAN (R 3.5.3)                              
 triebeard            0.3.0   2016-08-04 [1] CRAN (R 3.5.3)                              
 urltools             1.7.3   2019-04-14 [1] CRAN (R 3.5.3)                              
 usethis            * 1.5.1   2019-07-04 [1] CRAN (R 3.5.1)                              
 uuid                 0.1-2   2015-07-28 [1] CRAN (R 3.5.2)                              
 webutils             0.6     2017-06-23 [1] CRAN (R 3.5.3)                              
 withr                2.1.2   2018-03-15 [1] CRAN (R 3.5.1)                              
 xml2                 1.2.1   2019-07-29 [1] CRAN (R 3.5.3)                              

[1] E:/R/R-3.5.1/library

If this is intended as a bug report, then I recommend you to file an issue on the github page of the package.

It's solved by reinstall the package after bus has been fixed by dev.
Thx

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.