Tools to work with the Google DNS over HTTPS API in R
https://cinc.rud.is/web/packages/gdns/
您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
11 行
265 B
11 行
265 B
context("basic functionality")
|
|
test_that("we can do something", {
|
|
|
|
expect_that(length(gdns::query("example.com")), equals(10))
|
|
|
|
doms <- c("example.com", "example.org", "example.net")
|
|
qry <- gdns::bulk_query(doms)
|
|
|
|
expect_that(dim(qry), equals(c(3, 7)))
|
|
|
|
})
|
|
|