Running ‘testthat.R’ [20s/356s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("RKorAPClient")
  > 
  > test_check("RKorAPClient")
  <KorAPConnection> 
  apiUrl:  https://korap.ids-mannheim.de/api/v1.0/ 
  Searching "contains(<base/s=s>, (Ameisenplage heimgesucht))" in "": 6 hits, took 3.057015881 s
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits, took 3.044623718 s
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "contains(<base/s=s>, (Ameisenplage heimgesucht))" in "": 6 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "heimgesucht" in "": 72431 hits, took 3.045255672 s
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "focus([tt/p=ADJA] {Newstickeritis})" in "corpusSigle=/W.D17/": 76 hits, took 0.280156616 s
  Retrieved page 1/2 in 0.328666158 s
  Retrieved page 2/2 in 0.328666158 s
  Joinging 52 kwics
  Aggregating 43 tokens
  Searching "focus([tt/p=ADJA] {Newstickeritis})" in "corpusSigle=/W.D17/": 76 hits, took 3.056924044 s
  Getting size of virtual corpus "corpusSigle=/W.D17/": 1604072771 tokens
  Searching "focus([tt/p=ADJA] {Newstickeritis})" in "corpusSigle=/W.D17/": 76 hits [cached]
  Getting size of virtual corpus "corpusSigle=/W.D17/": 1604072771 tokens
  Searching "reine" in "corpusSigle=/W.D17/": 43278 hits, took 2.726375014 s
  Getting size of virtual corpus "corpusSigle=/W.D17/": 1604072771 tokens
  Searching "XXXXXXXXAmeisenplage" in "": 0 hits, took 0.200162175 s
  Searching "Ameisenplage" in "pubDate since 2014": 44 hits, took 3.028988565 s
  Getting size of virtual corpus "pubDate since 2014": 7355886112 tokens
  Searching "contains(<base/s=s>, (Ameisenplage heimgesucht))" in "": 6 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "contains(<base/s=s>, (Ameisenplage heimgesucht))" in "": 6 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "heimgesucht" in "": 72431 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "pubDate since 2014": 44 hits, took 3.057899538 s
  Getting size of virtual corpus "pubDate since 2014": 7355886112 tokens
  Searching "Ameisenplage" in "pubDate since 2014": 44 hits [cached]
  Retrieved page 1/1 in 3.009778597 s
  Searching "Xmeisenplagx" in "pubDate in 2012": 0 hits, took 2.721133025 s
  Searching "Ameisenplage" in "pubDate since 2014": 44 hits, took 3.045341672 s
  Retrieved page 1/1 in 2.924767842 s
  Searching "[[xx" in ""
  <KorAPCorpusStats> 
  The whole corpus contains 21,308,764,360 tokens in 1,422,299,671 sentences in 75,299,087 documents.
  <KorAPCorpusStats> 
  The virtual corpus described by "pubDate in 2018" contains 837,477,694 tokens in 55,774,033 sentences in 2,815,683 documents.
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 4306 hits, took 4.026888665 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 4100 hits, took 4.029815844 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 3989 hits, took 4.005237332 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 4056 hits, took 3.868973033 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 3987 hits, took 3.899456295 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 4030 hits, took 3.853416099 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 573 hits, took 4.165605008 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 616 hits, took 3.986643115 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 708 hits, took 3.929998555 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 859 hits, took 3.801429658 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 921 hits, took 4.178204785 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 979 hits, took 3.820914738 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 4306 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 4100 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 3989 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 4056 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 3987 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 4030 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 573 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 616 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 708 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 859 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 921 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 979 hits [cached]
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2013": 813821920 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2014": 784934666 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2015": 772958001 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2016": 783259328 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2017": 761656947 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2018": 756499566 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2013": 813821920 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2014": 784934666 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2015": 772958001 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2016": 783259328 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2017": 761656947 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2018": 756499566 tokens
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 4306 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 4100 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 3989 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 4056 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 3987 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 4030 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 573 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 616 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 708 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 859 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 921 hits [cached]
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 979 hits [cached]
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2013": 813821920 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2014": 784934666 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2015": 772958001 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2016": 783259328 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2017": 761656947 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2018": 756499566 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2013": 813821920 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2014": 784934666 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2015": 772958001 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2016": 783259328 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2017": 761656947 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2018": 756499566 tokens
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 4306 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 4100 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 3989 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 4056 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 3987 hits [cached]
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 4030 hits [cached]
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2013": 813821920 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2014": 784934666 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2015": 772958001 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2016": 783259328 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2017": 761656947 tokens
  Getting size of virtual corpus "textType = /Zeit.*/ & pubDate in 2018": 756499566 tokens
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2011"Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 122 hits, took 2.789254484 s
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 136 hits, took 2.680046276 s
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 129 hits, took 2.643768797 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 1 hits, took 2.671761318 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 14 hits, took 2.650259334 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 12 hits, took 2.879940637 s
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2011": 43208130 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2012": 43079158 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2013": 41256572 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2011": 43208130 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2012": 43079158 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2013": 41256572 tokens
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 122 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 136 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 129 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1829 hits, took 2.82764741 s
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2012": 1206 hits, took 2.698537485 s
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2013": 1072 hits, took 2.678661928 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 1 hits [cached]
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 14 hits [cached]
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 12 hits [cached]
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1154 hits, took 2.755843425 s
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2012": 585 hits, took 2.690910382 s
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2013": 500 hits, took 2.816517525 s
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2011": 43208130 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2012": 43079158 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2013": 41256572 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1651285249 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2012": 871680911 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2013": 865494296 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2011": 43208130 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2012": 43079158 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2013": 41256572 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1651285249 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2012": 871680911 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2013": 865494296 tokens
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 122 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 136 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 129 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1829 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2012": 1206 hits [cached]
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2013": 1072 hits [cached]
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 1 hits [cached]
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 14 hits [cached]
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 12 hits [cached]
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1154 hits [cached]
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2012": 585 hits [cached]
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2013": 500 hits [cached]
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2011": 43208130 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2012": 43079158 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2013": 41256572 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1651285249 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2012": 871680911 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2013": 865494296 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2011": 43208130 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2012": 43079158 tokens
  Getting size of virtual corpus "textDomain = /Wirtschaft.*/ & pubDate in 2013": 41256572 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1651285249 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2012": 871680911 tokens
  Getting size of virtual corpus "textDomain != /Wirtschaft.*/ & pubDate in 2013": 865494296 tokens
  Searching "contains(<base/s=s>, (Ameisenplage heimgesucht))" in "": 6 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "contains(<base/s=s>, (Ameisenplage heimgesucht))" in "": 6 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "heimgesucht" in "": 72431 hits [cached]
  Getting size of virtual corpus "": 21308764360 tokens
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 62 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-demos.R:58:3): Auto conditions over time highcharter example works ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [korap.ids-mannheim.de] Operation timed out after 110001 milliseconds with 0 bytes received
  Backtrace:
       ▆
    1. ├─... %>% hc_freq_by_year_ci() at test-demos.R:58:2
    2. ├─RKorAPClient::hc_freq_by_year_ci(.)
    3. │ └─df %>% ...
    4. ├─base::cbind(...)
    5. │ └─base::cbind(deparse.level, ...)
    6. │   └─base::data.frame(..., check.names = FALSE)
    7. ├─RKorAPClient::frequencyQuery(...)
    8. ├─RKorAPClient::frequencyQuery(...)
    9. │ └─RKorAPClient .local(kco, ...)
   10. │   ├─... %>% ci(conf.level = conf.level)
   11. │   ├─... %>% ...
   12. │   ├─RKorAPClient::corpusQuery(...)
   13. │   └─RKorAPClient::corpusQuery(...)
   14. │     └─RKorAPClient .local(kco, ...)
   15. │       ├─... %>% bind_rows()
   16. │       └─purrr::pmap(...)
   17. │         └─RKorAPClient .f(query = .l[[1L]][[i]], vc = .l[[2L]][[i]], ...)
   18. │           ├─RKorAPClient::corpusQuery(...)
   19. │           └─RKorAPClient::corpusQuery(...)
   20. │             └─RKorAPClient .local(kco, ...)
   21. │               ├─RKorAPClient::apiCall(kco, paste0(requestUrl, "&count=0"))
   22. │               └─RKorAPClient::apiCall(kco, paste0(requestUrl, "&count=0"))
   23. │                 └─RKorAPClient .local(kco, ...)
   24. │                   └─httr::GET(url, user_agent(kco@userAgent), timeout(kco@timeout))
   25. │                     └─httr:::request_perform(req, hu$handle$handle)
   26. │                       ├─httr:::request_fetch(req$output, req$url, handle)
   27. │                       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   28. │                         └─curl::curl_fetch_memory(url, handle = handle)
   29. ├─RKorAPClient::ci(., conf.level = conf.level)
   30. │ └─df %>% dplyr::filter(total <= 0) %>% ...
   31. ├─dplyr::mutate(., f = NA, conf.low = NA, conf.high = NA)
   32. ├─dplyr::filter(., total <= 0)
   33. ├─dplyr::mutate(., total = corpusStats(kco, vc = vc, as.df = TRUE)$tokens)
   34. └─dplyr::bind_rows(.)
   35.   └─rlang::list2(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 62 ]
  Error: Test failures
  Execution halted