R/onLoad.R

Defines functions .onLoad

.onLoad <- function(...){

	if(is.null(getOption("mapdeck"))) {

		options <- list(
			mapdeck = list(
				mapbox = NA_character_
			)
		)
		attr(options, "class") <- "mapdeck_api"
		options(mapdeck = options)
	}
}

Try the mapdeck package in your browser

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

mapdeck documentation built on Sept. 4, 2020, 9:07 a.m.