title: Twitter streaming error, 'invalid length argument'?
body: <p>The code is as follows;</p>
  <pre><code>Supplier_List &lt;- data.frame(companies = c(&quot;company1&quot;,&quot;company2&quot;,&quot;company3&quot;))
  
  Streamed_Tweets &lt;- purrr::map_df(Supplier_List$companies, ~{
    search_tweets2(.x, retryonratelimit = TRUE,include_rts=FALSE,lang=&quot;en&quot;)
    #Sys.sleep(5)
  }, .id = 'id')
  </code></pre>
  <p>The error that comes up is</p>
  <pre><code>Error in vector(&quot;list&quot;, ntimes) : invalid 'length' argument
  </code></pre>
  <p>Could anyone please help?</p>