tests/testthat/test-buildrealtimereportstructure.R

test_that("Validate BuildRealTimeReportStructure using legacy credentials", {



  aa <- BuildRealTimeReportStructure(report.name = "test123",
                                     metric = "instances",
                                     elements = c("prop2", "searchenginekeyword", "geocountry"))


  #Validate returned value is a data.frame
  expect_is(aa, "list")

})

Try the RSiteCatalyst package in your browser

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

RSiteCatalyst documentation built on Nov. 6, 2019, 5:09 p.m.