我想尝试在.Rd文件中使用markdown。 我认为在函数文档的末尾添加@md可以解析markdown。 但是我没有看到出现表格,也没有看到原始文本... Roxygen支持表格吗?
#' makes bar
#' @description
#' prints 2 x
#' @details see this table
#'
#' |a |b |c |
#' |--|--|--|
#' |1 |3 |4 |
#'
#' @param x how much foo
#' @return -
#' @export
#' @family tmp
#' @examples
#' foo(2)
#' @md
foo <- function(x) {
print(2 * x)
}