R/aaa.r

Defines functions make_server

utils::globalVariables(c("error", "everything", "isDirectory", "name", "params",
                         "permissions", "query", "error_msg"))

make_server <- function(drill_con) {

  sprintf("%s://%s:%s",
          ifelse(drill_con$ssl[1], "https", "http"),
          drill_con$host, drill_con$port)

}

Try the sergeant package in your browser

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

sergeant documentation built on Nov. 30, 2021, 1:06 a.m.