daattali/addinslist

could not find JavaScript file error received when using

tedmoorman opened this issue · 4 comments

Here is the function and message I receive:

addinslist:::addinslistAddin()
Error: shinyjs: Could not find JavaScript file `addinslistres/js/shinyjs-funcs.js`.

Here is my session info:

> sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server 7.9 (Maipo)

Matrix products: default
BLAS: /opt/R/R-3.5.3/lib64/R/lib/libRblas.so
LAPACK: /opt/R/R-3.5.3/lib64/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.6       V8_1.5           digest_0.6.25    later_1.1.0.1    mime_0.9         R6_2.5.0        
 [7] jsonlite_1.7.2   lifecycle_1.0.0  xtable_1.8-4     magrittr_2.0.1   rlang_0.4.10     curl_4.3        
[13] miniUI_0.1.1.1   promises_1.1.1   ellipsis_0.3.0   addinslist_0.4.0 shinyjs_1.0      tools_3.5.3     
[19] shiny_1.6.0      httpuv_1.5.5     fastmap_1.0.1    compiler_3.5.3   htmltools_0.5.1 

I'm using RStudio Server Version 1.2.1335.

Thanks for taking a look!

That error is something I used to sometimes see in shinyjs before version 2.0

Could you try to install shinyjs from CRAN and let me know if that fixes it? If yes, I should update DESCRIPTION to require shinyjs 2.0.0

After installing shinyjs, I had to remove and then reinstall the addinslist package. It looks like it is working now, but I receive a different error message. I think the new message is because I'm behind a strict firewall. Otherwise, I think it has full functionality. Cheers.

> addinslist:::addinslistAddin()
Loading required package: shiny

Listening on http://127.0.0.1:6004
Warning: Error in curl::curl_download: Failed connect to raw.githubusercontent.com:443; No route to host
  56: curl::curl_download
  55: update_addins_file
  54: update_addins_list
  53: update_addins_list_values
  52: refresh_list
  51: <Anonymous>
  49: server
Error in curl::curl_download(url, destfile = mdfile, mode = "ab") : 
  Failed connect to raw.githubusercontent.com:443; No route to host

Closing this issue because of inactivity and I think it's not an issue with the package. Feel free to re-open if you find a bug