As well as set_token()
, if the user has an environment variable set, get_access_token()
should (could) also look for it
Something like
get_access_token <- function(api = "mapbox") { api <- getOption("mapdeck")[['mapdeck']][[api]] if(is.null(api) ) api <- Sys.getenv("MAPBOX_TOKEN") if(is.null(api) ) api <- Sys.getenv("MAPBOX_KEY") if(is.null(api) ) api <- Sys.getenv("MAPBOX_API_KEY") if(is.null(api) ) api <- Sys.getenv("MAPBOX_API_TOKEN") if(is.null(api) ) api <- Sys.getenv("MAPBOX") return(api) }
TODO
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4