Running ‘testthat.R’ [15s/340s]
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.072462438 s
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "Ameisenplage" in "": 136 hits, took 3.044453989 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.065385211 s
  Getting size of virtual corpus "": 21308764360 tokens
  Searching "XXXXXXXXAmeisenplage" in "": 0 hits, took 0.202656456 s
  Searching "Ameisenplage" in "pubDate since 2014": 44 hits, took 3.090233316 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.069726135 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.068664025 s
  Searching "Xmeisenplagx" in "pubDate in 2012": 0 hits, took 2.770182349 s
  Searching "Ameisenplage" in "pubDate since 2014": 44 hits, took 3.036625946 s
  Retrieved page 1/1 in 3.189677699 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.010018971 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 4100 hits, took 4.309224543 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 3989 hits, took 3.873453452 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 4056 hits, took 4.025916379 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 3987 hits, took 4.002500512 s
  Searching "macht []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 4030 hits, took 4.204049241 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2013": 573 hits, took 3.8281865 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2014": 616 hits, took 4.00784929 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2015": 708 hits, took 3.924818888 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2016": 859 hits, took 4.069885706 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2017": 921 hits, took 3.95076698 s
  Searching "ergibt []{0,3} Sinn" in "textType = /Zeit.*/ & pubDate in 2018": 979 hits, took 3.939779165 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": 122 hits, took 2.808414249 s
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 136 hits, took 2.699162267 s
  Searching "[tt/l=Heuschrecke]" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 129 hits, took 2.936106742 s
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1829 hits, took 2.797360915 s
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2012": 1206 hits, took 2.70433744 s
  Searching "[tt/l=Heuschrecke]" in "textDomain != /Wirtschaft.*/ & pubDate in 2013": 1072 hits, took 2.855788813 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2011": 1 hits, took 2.791936287 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2012": 14 hits, took 2.814768762 s
  Searching "Ameise" in "textDomain = /Wirtschaft.*/ & pubDate in 2013": 12 hits, took 2.951420488 s
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2011": 1154 hits, took 2.755742355 s
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2012": 585 hits, took 2.838200426 s
  Searching "Ameise" in "textDomain != /Wirtschaft.*/ & pubDate in 2013": 500 hits, took 2.839695503 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 "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]
  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 [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 "[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 60 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-collocations.R:14:5): collocationAnalysis works and warns about missing token ──
  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. └─methods::new("KorAPConnection", accessToken = NULL, verbose = TRUE) at test-collocations.R:14:4
    2.   ├─methods::initialize(value, ...)
    3.   └─RKorAPClient::initialize(value, ...)
    4.     └─RKorAPClient .local(.Object, ...)
    5.       ├─RKorAPClient::apiCall(...)
    6.       └─RKorAPClient::apiCall(...)
    7.         └─RKorAPClient .local(kco, ...)
    8.           └─httr::GET(url, user_agent(kco@userAgent), timeout(kco@timeout))
    9.             └─httr:::request_perform(req, hu$handle$handle)
   10.               ├─httr:::request_fetch(req$output, req$url, handle)
   11.               └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.                 └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 60 ]
  Error: Test failures
  Execution halted