Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joelf8 opened this issue Jul 28, 2024 · 0 comments
Open

Comments

@joelf8
Copy link

joelf8 commented Jul 28, 2024

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'))
))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant