title: R package does not load dependencies
body: <h1>RESOLVED</h1>
  
  <p>In my description file, I changed </p>
  
  <pre><code>Imports: dplyr (&gt;= 0.4.3), ggplot2 (&gt;= 2.1.0), lazyeval (&gt;= 0.1.10)
  </code></pre>
  
  <p>to</p>
  
  <pre><code>Depends: dplyr (&gt;= 0.4.3), ggplot2 (&gt;= 2.1.0), lazyeval (&gt;= 0.1.10)
  </code></pre>
  
  <p>This worked for me. "Imports:" may be depreciated?</p>
  
  <p>---</p>
  
  <p>I'm writing a package in RStudio. One of my dependencies is dplyr. When I build and reload the package, I get the following error when running a function:</p>
  
  <pre><code>&gt; library(my_package)
  &gt; my_package::get_survey(...)
  Error in get_survey(import_dir) : could not find function "%&gt;%"
  </code></pre>
  
  <p>However, I've documented my dependencies in my DESCRIPTION file:</p>
  
  <pre><code>Imports: dplyr (&gt;= 0.4.3), ggplot2 (&gt;= 2.1.0), lazyeval (&gt;= 0.1.10)
  </code></pre>
  
  <p>The libraries are installed on my system, however I want my package to work out of the box without requiring users to run</p>
  
  <pre><code>library(dplyr)
  library(ggplot2)
  library(lazyeval)
  </code></pre>
  
  <p>before using it. How can I fix this? </p>
  
  <p>Here's my sessionInfo():</p>
  
  <pre><code>R version 3.3.0 (2016-05-03)
  Platform: x86_64-w64-mingw32/x64 (64-bit)
  Running under: Windows 7 x64 (build 7601) Service Pack 1
  
  locale:
  [1] LC_COLLATE=English_United States.1252 
  [2] LC_CTYPE=English_United States.1252   
  [3] LC_MONETARY=English_United States.1252
  [4] LC_NUMERIC=C                          
  [5] LC_TIME=English_United States.1252    
  
  attached base packages:
  [1] stats     graphics  grDevices
  [4] utils     datasets  methods  
  [7] base     
  
  other attached packages:
  [1] my_package_0.0.0.9000
  
  loaded via a namespace (and not attached):
  [1] tools_3.3.0
  </code></pre>
  
  <p>Thanks in advance for any help!</p>