R Under development (unstable) (2024-06-21 r86808 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(httr) > > runIntegrationTests <- class(try(httr::GET("http://localhost:8000/csw"))) != "try-error" Error in curl::curl_fetch_memory(url, handle = handle) : Failed to connect to localhost port 8000 after 2460 ms: Couldn't connect to server > if(runIntegrationTests){ + cat("Running integration tests...\n") + test_check("ows4R") + }else{ + cat("Skipping integration tests...\n") + } Skipping integration tests... > > proc.time() user system elapsed 0.32 0.17 2.95