R/onload.R

Defines functions .onLoad

conn_plos <- NULL
.onLoad <- function(libname, pkgname){
	x <- solrium::SolrClient$new(host = "api.plos.org", path = "search", port = NULL)
  conn_plos <<- x
}

Try the rplos package in your browser

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

rplos documentation built on Feb. 24, 2021, 1:06 a.m.