-
use a cache environment in
aaa_cache.R
:bg_ws
for biogrid webservice.- use a function such as
bg_ws_build()
which assigns useful variables- url
- uris (service endpoints)
- access key
- parameters
-
in
zzz.R
:
.onLoad <- function(...) {
bg_ws_build()
packageStartupMessage("biogridr: Beginner developer minions about. ",
"Be on the lookout. ")
}
-
name exported functions with common prefix:
bg_
for biogridr functions. -
use small internal functions starting with
ratify_
to validate inputs.