tests/testthat/test-getipaddressexclusions.R

test_that("Validate GetIPAddressExclusions using legacy credentials", {
  
  skip_on_cran()
  
  #Correct [masked] credentials
  SCAuth(Sys.getenv("USER", ""), Sys.getenv("SECRET", ""))
  
  ip <- GetIPAddressExclusions("zwitchdev")
  
  #Validate returned value is a data.frame
  expect_is(ip, "data.frame")
  
})

Try the RSiteCatalyst package in your browser

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

RSiteCatalyst documentation built on April 22, 2018, 9:04 a.m.