Bob Rudis 3 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)
4 4
 export(query)
5 5
 import(httr)
6 6
 importFrom(jsonlite,fromJSON)
7
+importFrom(purrr,map)
8
+importFrom(purrr,map_df)
7 9
 importFrom(purrr,safely)

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

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

+ 0
- 2
README.Rmd View File

@@ -61,8 +61,6 @@ date()
61 61
 
62 62
 test_dir("tests/")
63 63
 
64
-library(purrr)
65
-
66 64
 hosts <- c("rud.is", "dds.ec", "r-project.org", "rstudio.com", "apple.com")
67 65
 gdns::bulk_query(hosts)
68 66
 ```

+ 7
- 14
README.md View File

@@ -39,32 +39,25 @@ library(gdns)
39 39
 library(testthat)
40 40
 
41 41
 date()
42
-#> [1] "Sat Apr  9 17:24:33 2016"
42
+#> [1] "Sat Apr  9 17:28:00 2016"
43 43
 
44 44
 test_dir("tests/")
45 45
 #> testthat results ========================================================================================================
46 46
 #> OK: 0 SKIPPED: 0 FAILED: 0
47 47
 
48
-library(purrr)
49
-#> 
50
-#> Attaching package: 'purrr'
51
-#> The following object is masked from 'package:testthat':
52
-#> 
53
-#>     is_null
54
-
55 48
 hosts <- c("rud.is", "dds.ec", "r-project.org", "rstudio.com", "apple.com")
56 49
 gdns::bulk_query(hosts)
57 50
 #> Source: local data frame [7 x 4]
58 51
 #> 
59 52
 #>             name  type   TTL            data
60 53
 #>            (chr) (int) (int)           (chr)
61
-#> 1        rud.is.     1  3599 104.236.112.222
54
+#> 1        rud.is.     1  2345 104.236.112.222
62 55
 #> 2        dds.ec.     1   299   162.243.111.4
63
-#> 3 r-project.org.     1  6462   137.208.57.37
64
-#> 4   rstudio.com.     1  3599    45.79.156.36
65
-#> 5     apple.com.     1  2866   17.172.224.47
66
-#> 6     apple.com.     1  2866    17.178.96.59
67
-#> 7     apple.com.     1  2866   17.142.160.59
56
+#> 3 r-project.org.     1   220   137.208.57.37
57
+#> 4   rstudio.com.     1  3392    45.79.156.36
58
+#> 5     apple.com.     1  2656   17.142.160.59
59
+#> 6     apple.com.     1  2656   17.172.224.47
60
+#> 7     apple.com.     1  2656    17.178.96.59
68 61
 ```
69 62
 
70 63
 ### Code of Conduct

Loading…
Cancel
Save