0
嗯,我想在我的包裹项目中创建一个文档,但我得到这个错误:如何在构建包时使用devtools创建文档?
library(devtools)
> devtools::document()
Updating varbinq documentation
Loading varbinq
Error: contains a blank line
为什么当我在功能上没有空行!它看起来像这样:
#' function which do something
#'
#' @param x a value of something
#' @return a value of something2
#' @examples
#' f(2)
f <- function(x){
x+2
}
也许是因为其他功能?
是的我已经找到了它,并想写出答案,但你是更快。 :) 谢谢! –