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