문제

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