ggvis icon indicating copy to clipboard operation
ggvis copied to clipboard

conflict with rpivotTable with 0.4.2?

Open ghost opened this issue 9 years ago • 3 comments

@wch I've noticed that ggvis 0.4.2 conflicts with my htmlwidgets rpivotTable v.0.1.4.1.

Basically while all is OK with ggvis 0.4.1, installing 0.4.2 generates the following error for rpivotTable:

[Error] pivotUI@http://127.0.0.1:6221/pivottable-1.4.3/pivot.min.js:1:21122
renderValue@http://127.0.0.1:6221/rpivotTable-binding-0.1.4.1/rpivotTable.js:26:27
superFuncBound@http://127.0.0.1:6221/htmlwidgets-0.4/htmlwidgets.js:62:29
http://127.0.0.1:6221/htmlwidgets-0.4/htmlwidgets.js:402:20
onValueChange@http://127.0.0.1:6221/shared/shiny.min.js:3:43529
onValueChange@http://127.0.0.1:6221/shared/shiny.min.js:4:7867
receiveOutput@http://127.0.0.1:6221/shared/shiny.min.js:3:29226
http://127.0.0.1:6221/shared/shiny.min.js:3:30826
_sendMessagesToHandlers@http://127.0.0.1:6221/shared/shiny.min.js:3:30568
dispatchMessage@http://127.0.0.1:6221/shared/shiny.min.js:3:30401
onmessage@http://127.0.0.1:6221/shared/shiny.min.js:3:41771
    pivotUI (pivot.min.js, line 1)
    renderValue (rpivotTable.js, line 26)
    superFuncBound (htmlwidgets.js, line 62)
    (anonymous function) (htmlwidgets.js, line 402)
    onValueChange (shiny.min.js, line 3)
    onValueChange (shiny.min.js, line 4)
    receiveOutput (shiny.min.js, line 3)
    (anonymous function) (shiny.min.js, line 3)
    _sendMessagesToHandlers (shiny.min.js, line 3)
    dispatchMessage (shiny.min.js, line 3)
    onmessage (shiny.min.js, line 3)

Of course re-installing ggivs 0.4.1 all is OK again.

I suspect it is connected with the ggvis 0.4.2 change from jquery-ui 1.10.4 to jquery-ui 1.11.4.

rpivotTable and shiny use 1.10.4.

I would appreciate any help or suggestion to fix the problem in my widget.

ghost avatar Jun 07 '15 16:06 ghost

I've reported the issue on the shiny project as well: https://github.com/rstudio/shiny/issues/890

smartinsightsfromdata avatar Jul 13 '15 05:07 smartinsightsfromdata

I just switched to a full build of jQuery UI 1.11.4, in 076e350. There's also a pending pull request on Shiny (rstudio/shiny#984) which updates it to jQuery UI 1.11.4.

wch avatar Oct 19 '15 18:10 wch

@wch this issue is fixed with rpivotTable v. 0.1.5.4 - thanks!

smartinsightsfromdata avatar Oct 24 '15 09:10 smartinsightsfromdata