timelyportfolio / parsetR

R htmlwidget for d3-parsets from Jason Davies
Other
24 stars 2 forks source link

Arrows in tooltips #1

Open kferris10 opened 9 years ago

kferris10 commented 9 years ago

This widget looks awesome!

It looks like the arrows in Davies' example when you hover over the ribbons aren't rendering quite right in the widget. Am I missing something here?

timelyportfolio commented 9 years ago

Thanks for trying it out. Interesting to hear that you are seeing arrow problems. I have discovered that Chrome on Mac, Windows, and iOS creates unicode characters  even though these characters do not exist anywhere in the code. Would this be similar to what you are reporting?

image

kferris10 commented 9 years ago

I didn't realize it was a Chrome issue. It works fine on Firefox.

That's what I'm seeing. I'm also seeing Adult -> Crew not turn out quite right.

image

kferris10 commented 9 years ago

It does seem to work fine in Jason Davies' example though.

image

timelyportfolio commented 9 years ago

It is quite annoying, and I'm not sure how to trace it. Somehow these unicode get introduced in the rmarkdown/pandoc/base64 conversion. Would love any good ideas. Using standalone = FALSE if possible should fix it.

kferris10 commented 9 years ago

This is weird. I'd been seeing it when running from my RStudio console at work. But I just tried it on my home computer and it seems to work fine from the console.

image

I'll check again tomorrow at work.

ricardo-bion commented 9 years ago

I am having the same issue here with Chrome.

screen shot 2015-09-25 at 12 16 13 am
kferris10 commented 9 years ago

I reinstalled all the packages on my work computer, and now it's working fine for me.

image

devtools::session_info()
Session info ------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.1.3 (2015-03-09)
 system   x86_64, mingw32             
 ui       RStudio (0.99.473)          
 language (EN)                        
 collate  English_United States.1252  
 tz       America/New_York            

Packages ----------------------------------------------------------------------------------------------------------
 package     * version    date       source                                  
 bitops      * 1.0-6      2013-08-17 CRAN (R 3.1.3)                          
 colorspace  * 1.2-6      2015-03-11 CRAN (R 3.1.3)                          
 devtools    * 1.7.0      2015-01-17 CRAN (R 3.1.3)                          
 digest      * 0.6.8      2014-12-31 CRAN (R 3.1.3)                          
 gnm           1.0-7      2014-01-02 CRAN (R 3.1.3)                          
 htmltools   * 0.2.6      2014-09-08 CRAN (R 3.1.3)                          
 htmlwidgets * 0.5.1      2015-09-16 Github (ramnathv/htmlwidgets@3a2e312)   
 httr        * 0.6.1      2015-01-01 CRAN (R 3.1.3)                          
 jsonlite    * 0.9.16     2015-04-11 CRAN (R 3.1.3)                          
 knitr       * 1.11.2     2015-08-29 Github (yihui/knitr@38f2511)            
 lattice     * 0.20-30    2015-02-22 CRAN (R 3.1.3)                          
 magrittr    * 1.5        2014-11-22 CRAN (R 3.1.3)                          
 MASS        * 7.3-40     2015-03-21 CRAN (R 3.1.3)                          
 Matrix      * 1.1-5      2015-01-18 CRAN (R 3.1.3)                          
 nnet        * 7.3-9      2015-02-11 CRAN (R 3.1.3)                          
 parsetR       0.0.1      2015-09-25 Github (timelyportfolio/parsetR@6ce18da)
 qvcalc      * 0.8-9      2015-02-03 CRAN (R 3.1.3)                          
 RCurl       * 1.95-4.5   2014-12-28 CRAN (R 3.1.3)                          
 relimp      * 1.0-4      2015-02-03 CRAN (R 3.1.3)                          
 rstudioapi  * 0.3.1      2015-09-16 Github (rstudio/rstudioapi@d0417a9)     
 stringi     * 0.5-9003   2015-09-16 Github (Rexamine/stringi@02c9761)       
 stringr     * 1.0.0.9000 2015-09-16 Github (hadley/stringr@5f9319b)         
 vcd           1.3-2      2014-08-03 CRAN (R 3.1.3)                          
 vcdExtra      0.6-5      2015-01-03 CRAN (R 3.1.3)                          
 yaml        * 2.1.13     2014-06-12 CRAN (R 3.1.3)  

I really have no idea...