title: Error message when creating R package using the dynlm function
body: <p>I am trying to create an R package which includes a function which requires the dynlm R package to use the function dynlm as in the following sample code,</p>
  <pre><code>#' Title
  #'
  #' @param x A numeric database.
  #'
  #' @return
  #' @export
  #' @import dynlm
  #' @examples
  #' M1Germany &lt;- dynlm::M1Germany
  #' M1Germany &lt;- as.data.frame(M1Germany)
  #' estimat &lt;- equations(M1Germany)
  #' estimat
  equations &lt;- function (x) {
  eq &lt;- dynlm::dynlm(loggnp ~ L(interest,1) + logprice, data = x)
   return(summary(eq))
  }
  </code></pre>
  <p>I built the DESCRIPTION file as follow</p>
  <pre><code>Package: fundyn
  Type: Package
  Title: What the Package Does (Title Case)
  Version: 0.1.0
  Author: Myself Myself
  Maintainer: The package maintainer &lt;yourself@somewhere.net&gt;
  Description: More about what it does (maybe more than one line)
      Use four spaces when indenting paragraphs within the Description.
  License: GPL-3
  Encoding: UTF-8
  LazyData: true
  Imports: 
  car,
  dynlm,
  lmtest,
  stats,
  zoo
  RoxygenNote: 7.1.2
  </code></pre>
  <p>This is just a sample to replicate the problem in the function that I am building. When running the Check under the Build tab, I get the following error message in both, my original function and in the example that I just presented,</p>
  <p>Error in merge.zoo(loggnp, L(interest, 1), logprice, retclass = &quot;list&quot;,  :
  could not find function &quot;merge.zoo&quot;</p>
  <p>I took a look at the dynlm pdf documentation and it says</p>
  <p>Depends R (&gt;= 2.10.0), zoo</p>
  <p>Imports stats, car (&gt;= 2.0-0), lmtest</p>
  <p>My original function uses various other packages and there is no problem with them. I noticed that none of these packages have &quot;Depends&quot;. They only have &quot;Imports&quot;. So, I suspect that the problem is because the package dynlm &quot;Depends&quot; on zoo and I have been unable to correctly incorporate zoo into my package.</p>
  <p>What is the problem here?</p>
  <p>Thanks in advance,</p>