Browse Source

README

tags/v0.3.1
Bob Rudis 4 years ago
parent
commit
d23e7c9e23
4 changed files with 10 additions and 17 deletions
  1. +2
    -0
      NAMESPACE
  2. +1
    -1
      R/gdns-package.r
  3. +0
    -2
      README.Rmd
  4. +7
    -14
      README.md

+ 2
- 0
NAMESPACE View File

@@ -4,4 +4,6 @@ export(bulk_query)
export(query)
import(httr)
importFrom(jsonlite,fromJSON)
importFrom(purrr,map)
importFrom(purrr,map_df)
importFrom(purrr,safely)

+ 1
- 1
R/gdns-package.r View File

@@ -17,5 +17,5 @@
#' @author Bob Rudis (@@hrbrmstr)
#' @import httr
#' @importFrom jsonlite fromJSON
#' @importFrom purrr safely
#' @importFrom purrr safely map map_df
NULL

+ 0
- 2
README.Rmd View File

@@ -61,8 +61,6 @@ date()

test_dir("tests/")

library(purrr)

hosts <- c("rud.is", "dds.ec", "r-project.org", "rstudio.com", "apple.com")
gdns::bulk_query(hosts)
```


+ 7
- 14
README.md View File

@@ -39,32 +39,25 @@ library(gdns)
library(testthat)

date()
#> [1] "Sat Apr 9 17:24:33 2016"
#> [1] "Sat Apr 9 17:28:00 2016"

test_dir("tests/")
#> testthat results ========================================================================================================
#> OK: 0 SKIPPED: 0 FAILED: 0

library(purrr)
#>
#> Attaching package: 'purrr'
#> The following object is masked from 'package:testthat':
#>
#> is_null

hosts <- c("rud.is", "dds.ec", "r-project.org", "rstudio.com", "apple.com")
gdns::bulk_query(hosts)
#> Source: local data frame [7 x 4]
#>
#> name type TTL data
#> (chr) (int) (int) (chr)
#> 1 rud.is. 1 3599 104.236.112.222
#> 1 rud.is. 1 2345 104.236.112.222
#> 2 dds.ec. 1 299 162.243.111.4
#> 3 r-project.org. 1 6462 137.208.57.37
#> 4 rstudio.com. 1 3599 45.79.156.36
#> 5 apple.com. 1 2866 17.172.224.47
#> 6 apple.com. 1 2866 17.178.96.59
#> 7 apple.com. 1 2866 17.142.160.59
#> 3 r-project.org. 1 220 137.208.57.37
#> 4 rstudio.com. 1 3392 45.79.156.36
#> 5 apple.com. 1 2656 17.142.160.59
#> 6 apple.com. 1 2656 17.172.224.47
#> 7 apple.com. 1 2656 17.178.96.59
```

### Code of Conduct


Loading…
Cancel
Save