Possible Duplicate:
Escaping “@” in Roxygen2 Style Documentation

How can I use @ in roxygen documentation as in:

#' @param arg An argument that uses the symbol @

This will throw up an warning when you run roxygenize and not put the @ in the .Rd fle.

有帮助吗?

解决方案

You can escape it with another @

#' @param arg An argument that uses the symbol @@
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top