Skip to content

color_tiles() appears not to work with R versions (4.4.1, 4.3.2, 4.2.1) #68

Description

@joelf8

Here is some sample code.
It renders in Viewer in R 4.1.3 & 4.1.0, but not 4.4.1, 4.3.2, 4.2.1
There is no error, just a blank white page for output.

iris_filtered <- iris |>
dplyr::filter(Species == "setosa") |>
dplyr::select(Species, Sepal.Length) |>
dplyr::distinct()

reactable::reactable(
defaultSorted = c("Species"), # Set the default sorted column
defaultSortOrder = "desc", # Set the default sort order to descending
data = iris_filtered,
sortable = FALSE,
striped = TRUE,
columns = list(
Species = reactable::colDef(name = "Species",
sortable = FALSE),
Sepal.Length = reactable::colDef(name = "Sepal Length",
maxWidth = 53,
cell = reactablefmtr::color_tiles(
data = iris_filtered,
colors = 'red'))
))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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