Skip to content

Commit

Permalink
skip on cran
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed Jan 2, 2018
1 parent 9c05032 commit 8c0a43b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/testthat/test-searchConsoleR.R
Expand Up @@ -8,7 +8,7 @@ context("Auth")

## will only work locally at the moment
test_that("Can auth", {

skip_on_cran()
token <- scr_auth()

expect_s3_class(token, "Token2.0")
Expand All @@ -17,7 +17,7 @@ test_that("Can auth", {
context("Get website list")

test_that("Get website list", {

skip_on_cran()
www <- list_websites()

expect_s3_class(www, "data.frame")
Expand All @@ -26,15 +26,15 @@ test_that("Get website list", {
context("Get search analytics")

test_that("Can get search analytics data", {

skip_on_cran()
sa <- search_analytics(my_example, dimensions = c("query","page"))

expect_s3_class(sa, "data.frame")

})

test_that("Can get search analytics data lots of dims with batching", {

skip_on_cran()
sa1 <- search_analytics(my_example,
dimensions = c("date","device", "country" ,"query","page"),
walk_data = "byBatch",
Expand All @@ -45,7 +45,7 @@ test_that("Can get search analytics data lots of dims with batching", {
})

test_that("Can get search analytics data lots of dims with date", {

skip_on_cran()
sa2 <- search_analytics(my_example,
dimensions = c("date","device", "country" ,"query","page"),
walk_data = "byDate",
Expand All @@ -57,7 +57,7 @@ test_that("Can get search analytics data lots of dims with date", {


test_that("searchAppearance dimension", {

skip_on_cran()
sa3 <- search_analytics(my_example,
dimensions = c("searchAppearance"))

Expand Down

0 comments on commit 8c0a43b

Please sign in to comment.