title: how to use %dopar% when only import foreach in DESCRIPTION of a package
body: <p>How to avoid "could not find function "%dopar%"" in a function of a package when only imports (not depends) foreach in DESCRIPTION of a package? is there a way like foreach::%dopar% as I use foreach::foreach in function? Thank you.</p>
  
  <p>Code like:</p>
  
  <p>In function</p>
  
  <pre><code>foreach::foreach(1:9) %dopar% {
  
  ...}
  </code></pre>
  
  <p>In DESCRIPTION</p>
  
  <pre><code>Imports: 
      Matrix,
      parallel,
      foreach,
     doParallel
  </code></pre>