sbg / sevenbridges-r

Seven Bridges API Client, CWL Schema, Meta Schema, and SDK Helper in R
https://sbg.github.io/sevenbridges-r/
Apache License 2.0
35 stars 14 forks source link

shiny apps not loading #63

Closed nanxstats closed 6 years ago

nanxstats commented 6 years ago

A shiny app is not loading when loading the package in it:

Uncaught TypeError: Cannot read property 'href' of undefined
    at renderDependency (output_binding_html.js:84)
    at Object.<anonymous> (output_binding_html.js:22)
    at Function.each (jquery.min.js:2)
    at exports.renderDependencies (output_binding_html.js:21)
    at Object.exports.renderHtml (output_binding_html.js:68)
    at Object.exports.renderContent (output_binding_html.js:46)
    at exports.OutputBinding.renderValue (output_binding_html.js:14)
    at exports.OutputBinding.onValueChange (output_binding.js:16)
    at OutputBindingAdapter.onValueChange (output_binding_adapter.js:21)
    at ShinyApp.receiveOutput (shinyapp.js:350)
nanxstats commented 6 years ago

I'm pretty sure it is the asJSON method defined in class-cwl.R made this happen ... Maybe it's conflicting with methods defined in shiny...

https://github.com/sbg/sevenbridges-r/blob/master/R/class-cwl.R#L219-L229

@tengfei - we'll need to rename it.

nanxstats commented 6 years ago

solved by https://github.com/sbg/sevenbridges-r/commit/62e743a95974fa9ebefceeba61092be03545309e