tests/testthat/helper_.R

# helper functions needed for tests
# -----
properties_ <- function(deckgl) {
  deckgl$x$layers[[1]]$properties
}

get_layer_props <- function(widget, idx = 1) {
  widget$x$calls[[idx]]$args$properties
}

Try the deckgl package in your browser

Any scripts or data that you put into this service are public.

deckgl documentation built on March 7, 2023, 5:37 p.m.