AAA.R 279 Bytes
Newer Older
Read, Jordan S.'s avatar
Read, Jordan S. committed
1
pkg.env <- new.env()
2

Read, Jordan S.'s avatar
Read, Jordan S. committed
3
.onLoad = function(libname, pkgname){
4
    suppressMessages(setAccess('public'))
mike's avatar
mike committed
5
6
    pkg.env$nldi_base <- "https://labs.waterdata.usgs.gov/api/nldi/linked-data/"
    pkg.env$local_sf <- requireNamespace("sf")
mike's avatar
mike committed
7
    pkg.env$current_nldi <- get_nldi_sources()
8
}