Running ‘testthat.R’ [12s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(qualtRics)
  > 
  > test_check("qualtRics")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 144 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (7)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fetch-distributions.R:5'): fetch_distributions returns a tbl_df with expected column names and types ──
  Error in `nchar(x)`: invalid multibyte string, element 1
  Backtrace:
       ▆
    1. └─vcr::use_cassette(...) at test-fetch-distributions.R:5:2
    2.   └─vcr::insert_cassette(...)
    3.     └─Cassette$new(...)
    4.       └─vcr (local) initialize(...)
    5.         └─self$http_interactions()
    6.           ├─HTTPInteractionList$new(...)
    7.           │ └─vcr (local) initialize(...)
    8.           └─self$previously_recorded_interactions()
    9.             ├─vcr:::compact(...)
   10.             │ └─base::Filter(Negate(is.null), x)
   11.             │   ├─base::unlist(lapply(x, f))
   12.             │   └─base::lapply(x, f)
   13.             └─base::lapply(...)
   14.               └─vcr (local) FUN(X[[i]], ...)
   15.                 ├─VcrResponse$new(...)
   16.                 │ └─vcr (local) initialize(...)
   17.                 │   └─base::inherits(body, "list")
   18.                 └─z$response$body$string %||% z$response$body$base64_string
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 144 ]
  Error: Test failures
  In addition: Warning message:
  In readRenviron("~/.Renviron") :
    file '/data/gannet/ripley/.Renviron' cannot be opened for reading
  Execution halted