Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a @ sign with roxygen2 [duplicate]

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.

like image 593
Tyler Rinker Avatar asked Dec 01 '12 16:12

Tyler Rinker


1 Answers

You can escape it with another @

#' @param arg An argument that uses the symbol @@
like image 91
GSee Avatar answered Oct 02 '22 23:10

GSee