Running ‘spelling.R’
  Running ‘testthat.R’ [14s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ganalytics)
  Welcome to ganalytics.
  
  To get started, use the GoogleApiCreds() function to set credentials for
  authenticating with your Google Analytics API project. E.g:
   creds <- GoogleApiCreds("<my_user_name>@gmail.com", ".my_app_oauth_creds.json")
  
  Then, check out the list of available demos and package documentation with:
   vignette(package = "ganalytics")
   vignette("README",  "ganalytics")
   package?ganalytics
   demo(package = "ganalytics")
   demo("gademo", "ganalytics")
  
  For help with authentication, enter:
   ?ganalytics::GoogleApiCreds
  
  Please note: Authentication will automatically direct you to Google's website
  where you will be asked to grant permission for your project to access Google
  Analytics - this will open within your default web browser. Unless a file path
  is provided at the time of authentication, tokens will be cached by httr in your
  home directory.
  > 
  > test_check("ganalytics")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • API not available because no API credentials were found. (1)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-api-query.R:4:3): Queries are constructed correctly for API requests ──
  ...[] not equal to c(...).
  1/10 mismatches
  x[3]: NA
  y[3]: "2015-01-28"
  ── Failure (test-api-query.R:34:3): providing multiple view IDs, date ranges and multiple segments coerces to a multiple column matrix ──
  dim(as(q, "matrix")) not equal to c(10, 6).
  1/2 mismatches
  [2] 12 - 6 == 6
  ── Failure (test-api-query.R:39:3): providing multiple view IDs, date ranges and multiple segments coerces to a multiple column matrix ──
  dim(as(q, "matrix")) not equal to c(10, 12).
  1/2 mismatches
  [2] 24 - 12 == 12
  
  [ FAIL 3 | WARN 6 | SKIP 2 | PASS 140 ]
  Error: Test failures
  Execution halted