Skip to content

invisible white text when rendering a table in knitr chunk #144

@verajosemanuel

Description

@verajosemanuel
products <- data.frame(id = 1:5, 
                        price = c(10, 15, 12, 8, 9),
                        rating = c(5, 4, 4, 3, 4),
                        market_share = percent(c(0.1, 0.12, 0.05, 0.03, 0.14)),
                        revenue = accounting(c(55000, 36400, 12000, -25000, 98100)),
                        profit = accounting(c(25300, 11500, -8200, -46000, 65000)))
formattable(products, list(
  price = color_tile("transparent", "lightpink"),
  rating = color_bar("lightgreen"),
  market_share = color_bar("lightblue"),
  revenue = sign_formatter,
  profit = sign_formatter))

Captura

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions