title: How to create documentation with devtools while building a package?
body: <p>Well, I want to create a documentation in my package project but I get this error:</p>
  
  <pre><code>library(devtools)
  &gt; devtools::document()
  Updating varbinq documentation
  Loading varbinq
  Error: contains a blank line
  </code></pre>
  
  <p>why when I have no blank line in my function! It looks like this:</p>
  
  <pre><code>#' function which do something
  #'
  #' @param x a value of something
  #' @return a value of something2
  #' @examples
  #' f(2)
  f &lt;- function(x){
    x+2
  }
  </code></pre>
  
  <p>maybe it's because of others functions?</p>