Running 'testthat.R' [76s/66s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(restatapi)
  restatapi: - config file with the API version 1 loaded from GitHub (the 'current' API version number is 1).
             - 4 from the 32 cores are used for parallel computing.
             - 'libcurl' will be used for file download.
             - the Table of contents (TOC) was not pre-loaded into the deafult cache ('.restatapi_env').
  > 
  > test_check("restatapi")
  -- 1. Failure: test filtering in the get_eurostat_data function (@test-all.R#126
  any(sapply(dt6, is.factor)) isn't true.
  
  -- 2. Failure: test filtering in the get_eurostat_data function (@test-all.R#127
  any(sapply(dt7, is.factor)) isn't true.
  
  -- 3. Failure: test filtering in the get_eurostat_data function (@test-all.R#128
  any(sapply(dt8, is.factor)) isn't true.
  
  -- 4. Failure: test of the get/put_eurostat_cache function (@test-all.R#204)  --
  any(sapply(dt1, is.factor)) isn't true.
  
  -- 5. Failure: test of the get/put_eurostat_cache function (@test-all.R#207)  --
  any(sapply(rt3, is.factor)) isn't true.
  
  -- 6. Failure: test of the get/put_eurostat_cache function (@test-all.R#209)  --
  any(sapply(rt5, is.factor)) isn't true.
  
  -- 7. Failure: test of the get/put_eurostat_cache function (@test-all.R#211)  --
  any(sapply(bt3, is.factor)) isn't true.
  
  -- 8. Failure: test of the get/put_eurostat_cache function (@test-all.R#212)  --
  any(sapply(bt4, is.factor)) isn't true.
  
  == testthat results  ===========================================================
  [ OK: 67 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: test filtering in the get_eurostat_data function (@test-all.R#126) 
  2. Failure: test filtering in the get_eurostat_data function (@test-all.R#127) 
  3. Failure: test filtering in the get_eurostat_data function (@test-all.R#128) 
  4. Failure: test of the get/put_eurostat_cache function (@test-all.R#204) 
  5. Failure: test of the get/put_eurostat_cache function (@test-all.R#207) 
  6. Failure: test of the get/put_eurostat_cache function (@test-all.R#209) 
  7. Failure: test of the get/put_eurostat_cache function (@test-all.R#211) 
  8. Failure: test of the get/put_eurostat_cache function (@test-all.R#212) 
  
  Error: testthat unit tests failed
  Execution halted