hughjonesd / huxtable

An R package to create styled tables in multiple output formats, with a friendly, modern interface.
http://hughjonesd.github.io/huxtable
Other
321 stars 28 forks source link

No text format output when set_all_borders(1) #34

Closed roboton closed 6 years ago

roboton commented 6 years ago

When adding all borders to a table text output disappears but seems to work fine when outputting to LaTeX.

> hux(1:5, 1:5) %>% set_all_borders(1)

Column names: X1.5, X1.5.1
> hux(1:5, 1:5)
  1.00      1.00     
  2.00      2.00     
  3.00      3.00     
  4.00      4.00     
  5.00      5.00     

Column names: X1.5, X1.5.1
hughjonesd commented 6 years ago

Please confirm your package version, R version, operating system and locale. In CRAN huxtable and github master, I get:

> hux(1:5, 1:5) %>% set_all_borders(1)
┌──────────────┬──────────────┐
│ 1.00         │ 1.00         │
├──────────────┼──────────────┤
│ 2.00         │ 2.00         │
├──────────────┼──────────────┤
│ 3.00         │ 3.00         │
├──────────────┼──────────────┤
│ 4.00         │ 4.00         │
├──────────────┼──────────────┤
│ 5.00         │ 5.00         │
└──────────────┴──────────────┘
roboton commented 6 years ago

Sorry you're right - I was using a local version that I cloned awhile back. Sorry about that! Thanks for looking into this.