Let's say I have a comment block where I'd like to write an email address. How would I go about escaping the "@" symbol so roxygen treats it as text instead of a directive?
Escaping "@" in Roxygen2 Style Documentation
1.2k views Asked by Brandon Bertelsen At
1
A double at-sign
@@
will do the job.As an example, take the email address in the author field of this documentation:
which produces this
*.Rd
file when processed withroxygenize()
: