Tools to work with the Google DNS over HTTPS API in R https://cinc.rud.is/web/packages/gdns/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
265B

  1. context("basic functionality")
  2. test_that("we can do something", {
  3. expect_that(length(gdns::query("example.com")), equals(10))
  4. doms <- c("example.com", "example.org", "example.net")
  5. qry <- gdns::bulk_query(doms)
  6. expect_that(dim(qry), equals(c(3, 5)))
  7. })