R/test_restfulr_package.R

Defines functions .test

.test <- function() {
    if (!requireNamespace("rsolr")) {
        warning("install rsolr to perform tests")
        return()
    }
    solr <- rsolr::TestSolr()
    on.exit(solr$kill())
    testPackage <- get("testPackage", getNamespace("BiocGenerics"))
    testPackage("restfulr")
}

Try the restfulr package in your browser

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

restfulr documentation built on June 16, 2022, 5:10 p.m.