tests/testthat/test-asn.R

test_that("ASN info check works", {

  skip_on_cran()
  skip_on_travis()
  skip_on_appveyor()

  x <- get_asn_info("AS13335")

  expect_equal(class(x), "list")
  expect_equal(x$data$asn, "13335")

})

Try the ipbase package in your browser

Any scripts or data that you put into this service are public.

ipbase documentation built on May 31, 2023, 9:21 p.m.