Skip to content

use_kable_in_shiny vignette has slight bug #854

@byandell

Description

@byandell

Describe the bug
The gist for use_kable_in_shiny generates a Warning: Error in htmlTable_add_header_above: The new header row you provided has a total of 12 columns but the original kable_input has 13. see https://cran.r-project.org/web/packages/kableExtra/vignettes/use_kable_in_shiny.html

This can be resolved by inserting tibble::remove_rownames() %>% in line after mutate(car = rownames(.)) %>%

To Reproduce

[# code to reproduce the bug.](shiny::runGist("https://gist.github.com/haozhu233/9e675e1a8a1bb4744f9ebc9246a2366b"))

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