Browse Source

pre-cran flight check

tags/v0.3.1
boB Rudis 6 years ago
parent
commit
19a2ac82c6
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 1
      .Rbuildignore
  2. 1
      DESCRIPTION
  3. 1
      NAMESPACE
  4. 1
      R/gdns-package.r
  5. 33
      README.md
  6. 16
      cran-comments.md

1
.Rbuildignore

@ -4,7 +4,6 @@
^README-.*\.png$ ^README-.*\.png$
^\.travis\.yml$ ^\.travis\.yml$
^CONDUCT\.md$ ^CONDUCT\.md$
^README\.Rmd$
^cran-comments\.md$ ^cran-comments\.md$
^docs$ ^docs$
^tools$ ^tools$

1
DESCRIPTION

@ -24,6 +24,7 @@ Suggests:
testthat testthat
Imports: Imports:
httr, httr,
stats,
jsonlite, jsonlite,
stringi stringi
RoxygenNote: 6.0.1.9000 RoxygenNote: 6.0.1.9000

1
NAMESPACE

@ -14,6 +14,7 @@ export(spf_ptrs)
export(split_spf) export(split_spf)
import(httr) import(httr)
importFrom(jsonlite,fromJSON) importFrom(jsonlite,fromJSON)
importFrom(stats,terms)
importFrom(stringi,stri_detect_fixed) importFrom(stringi,stri_detect_fixed)
importFrom(stringi,stri_enc_toutf8) importFrom(stringi,stri_enc_toutf8)
importFrom(stringi,stri_replace_all_regex) importFrom(stringi,stri_replace_all_regex)

1
R/gdns-package.r

@ -25,6 +25,7 @@
#' stri_replace_all_regex stri_enc_toutf8 #' stri_replace_all_regex stri_enc_toutf8
#' stri_detect_fixed #' stri_detect_fixed
#' @importFrom jsonlite fromJSON #' @importFrom jsonlite fromJSON
#' @importFrom stats terms
NULL NULL

33
README.md

@ -66,7 +66,7 @@ str(query("rud.is"))
#> $ Answer :'data.frame': 1 obs. of 4 variables: #> $ Answer :'data.frame': 1 obs. of 4 variables:
#> ..$ name: chr "rud.is." #> ..$ name: chr "rud.is."
#> ..$ type: int 1 #> ..$ type: int 1
#> ..$ TTL : int 3536 #> ..$ TTL : int 1152
#> ..$ data: chr "104.236.112.222" #> ..$ data: chr "104.236.112.222"
#> $ Additional : list() #> $ Additional : list()
#> $ edns_client_subnet: chr "0.0.0.0/0" #> $ edns_client_subnet: chr "0.0.0.0/0"
@ -85,13 +85,13 @@ str(query("example.com", "255")) # "ANY" query
#> $ Answer :'data.frame': 20 obs. of 4 variables: #> $ Answer :'data.frame': 20 obs. of 4 variables:
#> ..$ name: chr [1:20] "example.com." "example.com." "example.com." "example.com." ... #> ..$ name: chr [1:20] "example.com." "example.com." "example.com." "example.com." ...
#> ..$ type: int [1:20] 6 46 47 46 2 2 46 28 46 1 ... #> ..$ type: int [1:20] 6 46 47 46 2 2 46 28 46 1 ...
#> ..$ TTL : int [1:20] 3566 3566 3566 21566 21566 21566 21566 21566 21566 21566 ... #> ..$ TTL : int [1:20] 3562 3562 3562 21562 21562 21562 21562 21562 21562 21562 ...
#> ..$ data: chr [1:20] "sns.dns.icann.org. noc.dns.icann.org. 2018080123 7200 3600 1209600 3600" "nsec 8 2 3600 1538855995 1537006806 63855 example.com. pFyGCdsJ2uw2FcRlszW1VuM6FRV1rHbBfeBmp/Jaecdth8njienGYt2k"| __truncated__ "www.example.com. A NS SOA TXT AAAA RRSIG NSEC DNSKEY" "ns 8 2 86400 1538826642 1537014006 63855 example.com. U7KJg6I3XylL5aT10B3tHw9MIV8QoHBlmzO3CwghRh4I00ZzF2IgjakMp"| __truncated__ ... #> ..$ data: chr [1:20] "sns.dns.icann.org. noc.dns.icann.org. 2018080125 7200 3600 1209600 3600" "nsec 8 2 3600 1538855995 1537006806 63855 example.com. pFyGCdsJ2uw2FcRlszW1VuM6FRV1rHbBfeBmp/Jaecdth8njienGYt2k"| __truncated__ "www.example.com. A NS SOA TXT AAAA RRSIG NSEC DNSKEY" "ns 8 2 86400 1538826642 1537014006 63855 example.com. U7KJg6I3XylL5aT10B3tHw9MIV8QoHBlmzO3CwghRh4I00ZzF2IgjakMp"| __truncated__ ...
#> $ Additional : list() #> $ Additional : list()
#> $ edns_client_subnet: chr "0.0.0.0/0" #> $ edns_client_subnet: chr "0.0.0.0/0"
str(query("microsoft.com", "MX")) str(query("microsoft.com", "MX"))
#> List of 10 #> List of 11
#> $ Status : int 0 #> $ Status : int 0
#> $ TC : logi FALSE #> $ TC : logi FALSE
#> $ RD : logi TRUE #> $ RD : logi TRUE
@ -104,10 +104,11 @@ str(query("microsoft.com", "MX"))
#> $ Answer :'data.frame': 1 obs. of 4 variables: #> $ Answer :'data.frame': 1 obs. of 4 variables:
#> ..$ name: chr "microsoft.com." #> ..$ name: chr "microsoft.com."
#> ..$ type: int 15 #> ..$ type: int 15
#> ..$ TTL : int 3507 #> ..$ TTL : int 3599
#> ..$ data: chr "10 microsoft-com.mail.protection.outlook.com." #> ..$ data: chr "10 microsoft-com.mail.protection.outlook.com."
#> $ Additional : list() #> $ Additional : list()
#> $ edns_client_subnet: chr "0.0.0.0/0" #> $ edns_client_subnet: chr "0.0.0.0/0"
#> $ Comment : chr "Response from 208.76.45.53."
str(query("google-public-dns-a.google.com", "TXT")) str(query("google-public-dns-a.google.com", "TXT"))
#> List of 10 #> List of 10
@ -123,7 +124,7 @@ str(query("google-public-dns-a.google.com", "TXT"))
#> $ Answer :'data.frame': 1 obs. of 4 variables: #> $ Answer :'data.frame': 1 obs. of 4 variables:
#> ..$ name: chr "google-public-dns-a.google.com." #> ..$ name: chr "google-public-dns-a.google.com."
#> ..$ type: int 16 #> ..$ type: int 16
#> ..$ TTL : int 21537 #> ..$ TTL : int 21432
#> ..$ data: chr "\"http://xkcd.com/1361/\"" #> ..$ data: chr "\"http://xkcd.com/1361/\""
#> $ Additional : list() #> $ Additional : list()
#> $ edns_client_subnet: chr "0.0.0.0/0" #> $ edns_client_subnet: chr "0.0.0.0/0"
@ -142,7 +143,7 @@ str(query("apple.com"))
#> $ Answer :'data.frame': 3 obs. of 4 variables: #> $ Answer :'data.frame': 3 obs. of 4 variables:
#> ..$ name: chr [1:3] "apple.com." "apple.com." "apple.com." #> ..$ name: chr [1:3] "apple.com." "apple.com." "apple.com."
#> ..$ type: int [1:3] 1 1 1 #> ..$ type: int [1:3] 1 1 1
#> ..$ TTL : int [1:3] 3557 3557 3557 #> ..$ TTL : int [1:3] 2635 2635 2635
#> ..$ data: chr [1:3] "17.172.224.47" "17.178.96.59" "17.142.160.59" #> ..$ data: chr [1:3] "17.172.224.47" "17.178.96.59" "17.142.160.59"
#> $ Additional : list() #> $ Additional : list()
#> $ edns_client_subnet: chr "0.0.0.0/0" #> $ edns_client_subnet: chr "0.0.0.0/0"
@ -161,7 +162,7 @@ str(query("17.142.160.59", "PTR"))
#> $ Answer :'data.frame': 5 obs. of 4 variables: #> $ Answer :'data.frame': 5 obs. of 4 variables:
#> ..$ name: chr [1:5] "59.160.142.17.in-addr.arpa." "59.160.142.17.in-addr.arpa." "59.160.142.17.in-addr.arpa." "59.160.142.17.in-addr.arpa." ... #> ..$ name: chr [1:5] "59.160.142.17.in-addr.arpa." "59.160.142.17.in-addr.arpa." "59.160.142.17.in-addr.arpa." "59.160.142.17.in-addr.arpa." ...
#> ..$ type: int [1:5] 12 12 12 12 12 #> ..$ type: int [1:5] 12 12 12 12 12
#> ..$ TTL : int [1:5] 2733 2733 2733 2733 2733 #> ..$ TTL : int [1:5] 3588 3588 3588 3588 3588
#> ..$ data: chr [1:5] "apple.by." "apple.com." "pv-apple-com.apple.com." "ipad.host." ... #> ..$ data: chr [1:5] "apple.by." "apple.com." "pv-apple-com.apple.com." "ipad.host." ...
#> $ Additional : list() #> $ Additional : list()
#> $ edns_client_subnet: chr "0.0.0.0/0" #> $ edns_client_subnet: chr "0.0.0.0/0"
@ -170,13 +171,13 @@ hosts <- c("rud.is", "dds.ec", "r-project.org", "rstudio.com", "apple.com")
gdns::bulk_query(hosts) gdns::bulk_query(hosts)
#> name type TTL data entity #> name type TTL data entity
#> 1 rud.is. 1 806 104.236.112.222 rud.is #> 1 rud.is. 1 1151 104.236.112.222 rud.is
#> 2 dds.ec. 1 507 185.53.178.9 dds.ec #> 2 dds.ec. 1 599 185.53.178.9 dds.ec
#> 3 r-project.org. 1 7199 137.208.57.37 r-project.org #> 3 r-project.org. 1 7031 137.208.57.37 r-project.org
#> 4 rstudio.com. 1 3536 104.196.200.5 rstudio.com #> 4 rstudio.com. 1 3431 104.196.200.5 rstudio.com
#> 5 apple.com. 1 3082 17.172.224.47 apple.com #> 5 apple.com. 1 2718 17.178.96.59 apple.com
#> 6 apple.com. 1 3082 17.178.96.59 apple.com #> 6 apple.com. 1 2718 17.142.160.59 apple.com
#> 7 apple.com. 1 3082 17.142.160.59 apple.com #> 7 apple.com. 1 2718 17.172.224.47 apple.com
``` ```
### Test Results ### Test Results
@ -186,7 +187,7 @@ library(gdns)
library(testthat) library(testthat)
date() date()
#> [1] "Sat Sep 15 14:29:20 2018" #> [1] "Sun Sep 16 13:23:55 2018"
test_dir("tests/") test_dir("tests/")
#> ✔ | OK F W S | Context #> ✔ | OK F W S | Context

16
cran-comments.md

@ -1,17 +1,15 @@
## Test environments ## Test environments
* local OS X install, R 3.4.0 * local OS X install, R 3.5.1
* ubuntu 12.04 (on travis-ci), R 3.4.0 & oldrel * ubuntu 12.04 (on travis-ci), R 3.5.1
* win-builder (devel and release) https://win-builder.r-project.org/8Ls4z6cqTVpg/00check.log * win-builder (devel and release)
## R CMD check results ## R CMD check results
0 errors | 0 warnings | 1 note (maintainer & acronyms) 0 errors | 0 warnings | 1 note
## Reverse dependencies * This is a maintenance release.
None
--- ---
* This is an update release to fix CRAN checks due to the crazy way purrr does dplyr ops. This pkg now Imports the necessary dplyr functions. Thinned out dependencies and modified the code to account
* Mis-spelled words aren't mis-spelled. Too many necessary acronyms to use "'" pairs. for chances in the DoH API.

Loading…
Cancel
Save