tests/testthat.R

library(testthat)
library(proxyconfig)

if (requireNamespace("xml2")) {
  test_check("proxyconfig", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
} else {
  test_check("proxyconfig")
}
cderv/proxyconfig documentation built on Oct. 7, 2019, 4:33 p.m.