Layers with empty data frames (or equivalently, no non-empty geometries) fail to serialise.
library(rdeck)
rdeck() |>
add_scatterplot_layer(
data = data.frame(position = xy())
)
#> Error in seq_len(len - 1L): argument must be coercible to non-negative integer
Layers with empty data frames (or equivalently, no non-empty geometries) fail to serialise.
Created on 2024-01-31 with reprex v2.1.0