Skip to content

Instantly share code, notes, and snippets.

@hrbrmstr
Created February 4, 2018 18:16
Show Gist options
  • Save hrbrmstr/c1be4e9f424a77c80595174678ab74e1 to your computer and use it in GitHub Desktop.
Save hrbrmstr/c1be4e9f424a77c80595174678ab74e1 to your computer and use it in GitHub Desktop.
> parse_ns_file("~/packages/iptools/")
$imports
$imports[[1]]
[1] "AsioHeaders"
$imports[[2]]
[1] "stats"
$imports[[3]]
[1] "stringi"
$imports[[4]]
[1] "triebeard"
$imports[[5]]
[1] "utils"
$imports[[6]]
$imports[[6]][[1]]
[1] "Rcpp"
$imports[[6]][[2]]
[1] "sourceCpp"
$imports[[7]]
$imports[[7]][[1]]
[1] "dplyr"
$imports[[7]][[2]]
[1] "%>%"
$imports[[8]]
$imports[[8]][[1]]
[1] "dplyr"
$imports[[8]][[2]]
[1] "data_frame"
$imports[[9]]
$imports[[9]][[1]]
[1] "dplyr"
$imports[[9]][[2]]
[1] "mutate"
$imports[[10]]
$imports[[10]][[1]]
[1] "readr"
$imports[[10]][[2]]
[1] "read_tsv"
$imports[[11]]
$imports[[11]][[1]]
[1] "tidyr"
$imports[[11]][[2]]
[1] "separate"
$exports
[1] "asn_table_to_trie" "cached_country_cidrs" "country_ranges"
[4] "expand_ipv6" "flush_country_cidrs" "get_all_country_ranges"
[7] "hilbert_encode" "host_count" "hostname_to_ip"
[10] "iana_assignments_refresh" "iana_ports_refresh" "iana_special_assignments_refresh"
[13] "ip_classify" "ip_in_any" "ip_in_range"
[16] "ip_numeric_to_binary_string" "ip_random" "ip_to_asn"
[19] "ip_to_binary_string" "ip_to_hostname" "ip_to_numeric"
[22] "ips_in_cidrs" "is_ipv4" "is_ipv6"
[25] "is_multicast" "is_valid" "numeric_to_ip"
[28] "range_boundaries" "range_generate" "v6_scope"
[31] "validate_range" "xff_extract"
$exportPatterns
character(0)
$importClasses
list()
$importMethods
list()
$exportClasses
character(0)
$exportMethods
character(0)
$exportClassPatterns
character(0)
$dynlibs
"iptools"
$nativeRoutines
list()
$S3methods
[,1] [,2] [,3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment