tests/testthat/test-coord-ip.R

test_that("ipaddress classes passed through ggplot unscaled", {
  expect_equal(scale_type(ip_address()), "identity")
  expect_equal(scale_type(ip_network()), "identity")
  expect_equal(scale_type(ip_interface()), "identity")
})

Try the ggip package in your browser

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

ggip documentation built on April 4, 2023, 9:07 a.m.