tests/test-all.R

library(testthat)
library(httr)

runIntegrationTests <- class(try(httr::GET("http://localhost:8000/csw"))) != "try-error"
if(runIntegrationTests){
  cat("Running integration tests...\n")
  test_check("ows4R")
}else{
  cat("Skipping integration tests...\n")
}

Try the ows4R package in your browser

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

ows4R documentation built on Sept. 1, 2023, 5:09 p.m.